Details

Time bar (total: 7.3s)

sample72.0ms

Algorithm
intervals
Results
17.0ms234×body80nan
17.0ms256×body80valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.5b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
2.4b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
3.8b
(/ (* z (sqrt (+ t a))) t)

rewrite115.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:
7.0ms
(/ 2.0 (* t 3.0))
23.0ms
(* z (sqrt (+ t a)))
62.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
14.0ms
(/ (* z (sqrt (+ t a))) t)

series310.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013772637
150012324

prune887.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.7b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
0.3b
(/ 2.0 (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
3.9b
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
56×prod-diff
51×add-sqr-sqrt
41×add-cube-cbrt
31×distribute-rgt-in distribute-lft-in
27×times-frac
16×distribute-lft-out
13×add-exp-log associate-*r* add-cbrt-cube
div-inv
pow1 frac-times flip3-- associate-*l* flip--
associate-*r/ frac-sub
sqrt-prod
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
prod-exp cbrt-unprod associate-/l* distribute-lft-out-- unswap-sqr
cbrt-undiv sub-neg sqrt-div div-exp pow-prod-down associate-*l/ associate--l+ *-commutative difference-of-squares
frac-2neg clear-num associate-/r* fma-udef
Counts
4 → 161
Calls
4 calls:
208.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
9.0ms
(/ 2.0 (* t 3.0))
21.0ms
(* z (sqrt (+ t a)))
0.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series313.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
15.0ms
(/ 2.0 (* t 3.0))
59.0ms
(* z (sqrt (+ t a)))
182.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify108.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
09002516
142251991
250011986

prune635.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
1.7b
(log (exp (fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
3.9b
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×*-un-lft-identity
11×add-exp-log add-cube-cbrt add-cbrt-cube
pow1 associate-*r*
sqrt-prod
expm1-log1p-u log-prod log-pow log1p-expm1-u add-log-exp
exp-prod times-frac associate-*l* associate-/l*
cbrt-undiv sqrt-div associate-*r/ div-exp prod-exp cbrt-unprod fma-udef unswap-sqr
frac-2neg flip3-+ rem-log-exp exp-sum pow-prod-down clear-num associate-/r* *-commutative flip-+ div-inv distribute-lft-out
Counts
4 → 78
Calls
4 calls:
7.0ms
(/ 2.0 (* t 3.0))
21.0ms
(* z (sqrt (+ t a)))
3.0ms
(log (exp (fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
0.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 2.0 (* t 3.0))
59.0ms
(* z (sqrt (+ t a)))
178.0ms
(log (exp (fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
182.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0426785
11491675
25002664

prune479.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
0.3b
(/ 2.0 (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
3.9b
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite244.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
56×prod-diff
51×add-sqr-sqrt
41×add-cube-cbrt
31×distribute-rgt-in distribute-lft-in
27×times-frac
16×distribute-lft-out
13×add-exp-log associate-*r* add-cbrt-cube
div-inv
pow1 frac-times flip3-- associate-*l* flip--
associate-*r/ frac-sub
sqrt-prod
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
prod-exp cbrt-unprod associate-/l* distribute-lft-out-- unswap-sqr
cbrt-undiv sub-neg sqrt-div div-exp pow-prod-down associate-*l/ associate--l+ *-commutative difference-of-squares
frac-2neg clear-num associate-/r* fma-udef
Counts
4 → 161
Calls
4 calls:
206.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
9.0ms
(/ 2.0 (* t 3.0))
21.0ms
(* z (sqrt (+ t a)))
0.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series315.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
09002516
142251991
250011986

prune614.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

regimes270.0ms

Accuracy

0% (2.0b remaining)

Error of 2.6b against oracle of 0.7b and baseline of 2.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04620
14820
24820

end0.0ms

sample1.9s

Algorithm
intervals
Results
536.0ms8000×body80valid
487.0ms7765×body80nan