Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0524817

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 7.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.7b
(/ (- (* y z) x) (- (* t z) x))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
3.0ms
(- (* y z) x)
10.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
14.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
8.0ms
(/ (- (* y z) x) (- (* t z) x))

series80.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* y z) x)
24.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
35.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
17.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
058191916

prune144.0ms

Filtered
84 candidates to 110 candidates (-31.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1037110
Fresh000
Picked101
Done000
Total1047111

Merged error: 0.5b

Counts
111 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x (- (* y (/ z (- (* z t) x))) (/ x (- (* z t) x)))) (+ x 1.0))
1.5b
(* y (/ z (- (* z t) x)))
1.9b
(/ x (- (* z t) x))
7.1b
(/ z (- (* z t) x))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
44×times-frac
43×add-sqr-sqrt
38×add-cube-cbrt
15×add-exp-log associate-*r* add-cbrt-cube
10×associate-/r* distribute-lft-out associate-/l*
associate-/r/
pow1
cbrt-undiv div-exp div-inv add-log-exp
flip3-- frac-2neg associate-*l* clear-num flip--
flip3-+ prod-exp cbrt-unprod flip-+ associate-/l/ unswap-sqr
associate-+r- div-sub associate-*r/ pow-prod-down *-commutative
Counts
4 → 133
Calls
4 calls:
21.0ms
(/ (+ x (- (* y (/ z (- (* z t) x))) (/ x (- (* z t) x)))) (+ x 1.0))
9.0ms
(* y (/ z (- (* z t) x)))
5.0ms
(/ x (- (* z t) x))
5.0ms
(/ z (- (* z t) x))

series68.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (+ x (- (* y (/ z (- (* z t) x))) (/ x (- (* z t) x)))) (+ x 1.0))
11.0ms
(* y (/ z (- (* z t) x)))
12.0ms
(/ x (- (* z t) x))
8.0ms
(/ z (- (* z t) x))

simplify63.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
055912243

prune165.0ms

Filtered
110 candidates to 145 candidates (-31.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1414145
Fresh426
Picked101
Done000
Total1466152

Merged error: 0.5b

Counts
152 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (+ (* (/ z x) t) -1))
1.5b
(* y (/ z (- (* z t) x)))
4.9b
(* (/ z x) t)
7.1b
(/ z (- (* z t) x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
36×add-cube-cbrt *-un-lft-identity
20×add-exp-log
18×associate-*r* add-cbrt-cube
16×associate-*l*
pow1
associate-/r* associate-/r/ associate-/l*
div-exp
cbrt-undiv prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
flip3-- frac-2neg pow-prod-down clear-num *-commutative flip--
rec-exp pow-flip flip3-+ 1-exp associate-*r/ associate-*l/ flip-+ inv-pow
Counts
4 → 128
Calls
4 calls:
7.0ms
(/ 1 (+ (* (/ z x) t) -1))
9.0ms
(* y (/ z (- (* z t) x)))
6.0ms
(* (/ z x) t)
5.0ms
(/ z (- (* z t) x))

series34.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1 (+ (* (/ z x) t) -1))
11.0ms
(* y (/ z (- (* z t) x)))
5.0ms
(* (/ z x) t)
8.0ms
(/ z (- (* z t) x))

simplify53.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050991318

prune153.0ms

Filtered
103 candidates to 140 candidates (-35.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh055
Picked011
Done000
Total1406146

Merged error: 0.5b

Counts
146 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(/ 1 (+ x 1.0))
0.6b
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
9.7b
(/ (- (* y z) x) (- (* t z) x))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
37×add-sqr-sqrt
35×times-frac
30×add-cube-cbrt
19×add-exp-log
18×associate-*r*
13×add-cbrt-cube
distribute-lft-out
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
flip3-+ div-exp flip-+
associate-*l* prod-exp
cbrt-undiv div-inv unswap-sqr
frac-times rec-exp flip3-- frac-2neg 1-exp div-sub associate-*l/ clear-num flip-- cbrt-unprod associate-/l/
+-commutative associate-+r- pow-flip associate-*r/ pow-prod-down sum-log un-div-inv *-commutative inv-pow
Counts
4 → 128
Calls
4 calls:
11.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
7.0ms
(/ 1 (+ x 1.0))
18.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series79.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
2.0ms
(/ 1 (+ x 1.0))
33.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
17.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify60.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049882073
149882073

prune132.0ms

Filtered
100 candidates to 140 candidates (-40.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh134
Picked011
Done011
Total1406146

Merged error: 0.5b

Counts
146 → 6

regimes252.0ms

Accuracy

87.5% (0.3b remaining)

Error of 0.6b against oracle of 0.4b and baseline of 2.4b

bsearch16.0ms

Steps
ItersRangePoint
6
-0.5589967429191678
-0.04850414107859914
-0.3693132106384262

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04158
14158

end0.0ms

sample752.0ms

Algorithm
intervals
Results
393.0ms8360×body80valid

Profiling

Loading profile data...