Details

Time bar (total: 10.5s)

sample104.0ms

Algorithm
intervals
Results
41.0ms256×body80valid
31.0ms228×body80nan

simplify40.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: 4.7b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.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:
12.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 2.0 (* t 3.0))
42.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
7.0ms
(/ (* z (sqrt (+ t a))) t)

series338.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* z (sqrt (+ t a)))
16.0ms
(/ 2.0 (* t 3.0))
176.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
80.0ms
(/ (* z (sqrt (+ t a))) t)

simplify55.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013772637
150012324

prune933.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

localize27.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))
3.2b
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite19.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:
9.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))))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (sqrt (+ t a)) t)
16.0ms
(/ 2.0 (* t 3.0))
16.0ms
(/ 2.0 (* t 3.0))
217.0ms
(fma z (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0378688
11172613
25001603

prune612.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 1.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 2.0 (* t 3.0))
2.5b
(log (exp (/ 2.0 (* t 3.0))))
3.6b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
5.7b
(/ (* z (sqrt (+ t a))) t)

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity
95×prod-diff
94×associate--r+
72×log-pow
63×exp-prod
61×add-sqr-sqrt add-cube-cbrt
47×distribute-rgt-in distribute-lft-in
39×times-frac
22×distribute-lft-out
14×add-exp-log add-cbrt-cube
13×pow1 div-inv
frac-sub
flip3-- fma-neg flip--
add-log-exp
cbrt-undiv expm1-log1p-u frac-times associate-*r/ div-exp associate-/r* log1p-expm1-u associate-/l*
sub-neg log-prod
frac-2neg sqrt-div associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod associate-/l/
flip3-+ diff-log rem-log-exp flip-+
Counts
4 → 199
Calls
4 calls:
3.0ms
(/ 2.0 (* t 3.0))
4.0ms
(log (exp (/ 2.0 (* t 3.0))))
50.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
7.0ms
(/ (* z (sqrt (+ t a))) t)

series298.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 2.0 (* t 3.0))
16.0ms
(log (exp (/ 2.0 (* t 3.0))))
181.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
84.0ms
(/ (* z (sqrt (+ t a))) t)

simplify62.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012143242
150012728

prune1.0s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

localize37.0ms

Local error

Found 4 expressions with local error:

4.1b
(* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))
6.7b
(+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
7.4b
(* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0))))))
20.9b
(/ (+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) t))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
84×associate-*r/
46×associate-*l/
34×distribute-neg-frac
33×flip3-+ flip-+
32×frac-add
30×sqrt-div
20×frac-times
18×associate-/l/
17×flip3-- flip--
16×add-exp-log add-cbrt-cube
11×pow1 add-sqr-sqrt
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt *-un-lft-identity associate-*l*
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-+r+ associate-*r* pow-prod-down fma-udef log1p-expm1-u
times-frac associate-/l*
cbrt-undiv associate-+l+ div-exp associate-/r/ *-commutative
+-commutative distribute-lft-neg-out distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in frac-2neg clear-num associate-/r* sum-log div-inv unswap-sqr
Counts
4 → 139
Calls
4 calls:
114.0ms
(* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))
11.0ms
(+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
6.0ms
(* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0))))))
57.0ms
(/ (+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) t))

series1.6s

Counts
4 → 12
Calls
4 calls:
118.0ms
(* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))
357.0ms
(+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
97.0ms
(* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0))))))
1.1s
(/ (+ (* (- (* t (- b c))) (fma (+ a (/ 5.0 6.0)) (+ a (/ 5.0 6.0)) (- (* (/ 2.0 (* t 3.0)) (/ 2.0 (* t 3.0)))))) (* z (* (sqrt (+ t a)) (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* (+ a (+ (/ 5.0 6.0) (/ 2.0 (* t 3.0)))) t))

simplify70.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011854059
150013746

prune1.1s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes304.0ms

Accuracy

0% (2.0b remaining)

Error of 2.1b against oracle of 0.1b and baseline of 2.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04528
14728
24728

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s8000×body80valid
1.1s8174×body80nan