Details

Time bar (total: 16.6s)

sample119.0ms

Algorithm
intervals
Results
45.0ms256×body80valid
38.0ms282×body80nan

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (sqrt (+ t a)))
0.5b
(/ 2.0 (* t 3.0))
1.2b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
5.3b
(/ (* z (sqrt (+ t a))) t)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
63×prod-diff
62×associate--r+
49×add-sqr-sqrt
45×add-cube-cbrt
36×times-frac
31×distribute-rgt-in distribute-lft-in
20×frac-sub
16×add-exp-log add-cbrt-cube
15×distribute-lft-out
12×div-inv
flip3-- flip--
frac-times associate-*r/
fma-neg associate-*r*
pow1 add-log-exp
flip3-+ sqrt-prod flip-+
cbrt-undiv expm1-log1p-u sqrt-div div-exp associate-/r* log1p-expm1-u associate-/l*
sub-neg associate-*l* prod-exp cbrt-unprod
frac-2neg associate-*l/ associate--l+ clear-num associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative
Counts
4 → 179
Calls
4 calls:
11.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 2.0 (* t 3.0))
41.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
6.0ms
(/ (* z (sqrt (+ t a))) t)

series375.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* z (sqrt (+ t a)))
17.0ms
(/ 2.0 (* t 3.0))
200.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
88.0ms
(/ (* z (sqrt (+ t a))) t)

simplify62.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
013772637
150012324

prune967.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt (+ t a)) t)
0.5b
(/ 2.0 (* t 3.0))
0.5b
(/ 2.0 (* t 3.0))
2.0b
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
27×times-frac
24×add-sqr-sqrt add-cube-cbrt
16×add-exp-log sqrt-prod add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp associate-/r*
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
frac-2neg clear-num div-inv
sqrt-div prod-exp cbrt-unprod associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 103
Calls
4 calls:
8.0ms
(/ (sqrt (+ t a)) t)
3.0ms
(/ 2.0 (* t 3.0))
3.0ms
(/ 2.0 (* t 3.0))
0.0ms
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series336.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ (sqrt (+ t a)) t)
17.0ms
(/ 2.0 (* t 3.0))
21.0ms
(/ 2.0 (* t 3.0))
229.0ms
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify47.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0378688
11172613
25001603

prune637.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 2.0 (* t 3.0))
0.5b
(/ 2.0 (* t 3.0))
2.0b
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
37.5b
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod
14×add-exp-log add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
unpow-prod-down cube-prod
associate-/l*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u div-inv add-log-exp
frac-2neg prod-exp clear-num associate-/r* cbrt-unprod
cube-div cube-mult cbrt-div pow1/3 unpow3 rem-cbrt-cube fma-udef sqr-pow
Counts
4 → 88
Calls
4 calls:
3.0ms
(/ 2.0 (* t 3.0))
3.0ms
(/ 2.0 (* t 3.0))
0.0ms
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
3.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

series293.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 2.0 (* t 3.0))
18.0ms
(/ 2.0 (* t 3.0))
239.0ms
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
19.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

simplify45.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0322498
11234458
25001454

prune587.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
3.2b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
7.4b
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
32.5b
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

rewrite643.0ms

Algorithm
rewrite-expression-head
Rules
766×associate-*l/
764×associate-*r/
524×frac-sub
498×flip3-- flip--
364×frac-times
240×sqrt-div
162×associate-/l/
120×flip3-+ flip-+
28×add-exp-log add-cbrt-cube
24×distribute-rgt-in distribute-lft-in
14×pow1
12×prod-exp cbrt-unprod associate--r+
sub-neg prod-diff
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l*
pow-prod-down add-log-exp
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
times-frac associate-/l*
associate-*r* associate-/r/ *-commutative
frac-2neg fma-neg diff-log div-sub clear-num associate-/r* div-inv difference-of-squares
Counts
4 → 455
Calls
4 calls:
13.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
99.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
165.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
279.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

series1.7s

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
194.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
640.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
795.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

simplify340.0ms

Algorithm
egg-herbie
Counts
467 → 467
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0490623936
1500123936

prune6.6s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes239.0ms

Accuracy

49.5% (2.2b remaining)

Error of 3.2b against oracle of 0.9b and baseline of 5.4b

bsearch345.0ms

Steps
ItersRangePoint
8
3.7621516294925704e-163
1.1299762156076995e-160
1.1185365128789115e-160
5
-5.394451520760525e-62
-2.3469334104154334e-62
-2.66966562320712e-62

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08964
19164
29164

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s8000×body80valid
1.1s8039×body80nan