Details

Time bar (total: 12.1s)

sample109.0ms

Algorithm
intervals
Results
38.0ms256×body80valid
35.0ms223×body80nan

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.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:
15.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 2.0 (* t 3.0))
38.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)

series91.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* z (sqrt (+ t a)))
2.0ms
(/ 2.0 (* t 3.0))
59.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
18.0ms
(/ (* z (sqrt (+ t a))) t)

simplify52.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013772637
150012324

prune3.2s

Pruning

3 alts after pruning (3 fresh and 0 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.2b
(* z (sqrt (+ t a)))
0.5b
(/ 2.0 (* t 3.0))
4.0b
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite162.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:
140.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
11.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 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))))))

series94.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
13.0ms
(* z (sqrt (+ t a)))
1.0ms
(/ 2.0 (* t 3.0))
61.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

prune2.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* 2.0 (fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))))
0.2b
(* z (sqrt (+ t a)))
0.5b
(fma a b (- (fma a c (* 0.8333333333333334 c))))
3.8b
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt associate-*r*
pow1 add-exp-log add-cbrt-cube add-log-exp
sqrt-prod
expm1-log1p-u fma-udef log1p-expm1-u
associate-*l*
sqrt-div associate-*r/ exp-sum unswap-sqr
distribute-rgt-in exp-prod exp-to-pow distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ rem-exp-log distribute-lft-out
Counts
4 → 61
Calls
4 calls:
1.0ms
(exp (* 2.0 (fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))))
11.0ms
(* z (sqrt (+ t a)))
0.0ms
(fma a b (- (fma a c (* 0.8333333333333334 c))))
0.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))

series177.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(exp (* 2.0 (fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))))
13.0ms
(* z (sqrt (+ t a)))
12.0ms
(fma a b (- (fma a c (* 0.8333333333333334 c))))
50.0ms
(fma (* z (sqrt (+ t a))) (/ 1 t) (- (fma a b (- (fma a c (* 0.8333333333333334 c))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0443666
11646586
25002554

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x (* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))))
0.0b
(* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))
0.0b
(exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b)))))
1.0b
(fma c a (- (* 0.8333333333333334 c) (* a b)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
times-frac
add-cbrt-cube
add-exp-log
pow1 add-log-exp
associate-*r* fma-udef
expm1-log1p-u exp-sum log1p-expm1-u
associate-*l* associate-/r* associate-/l*
distribute-rgt-in distribute-lft-in associate-/r/
cbrt-undiv exp-prod exp-to-pow frac-2neg flip3-+ div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod flip-+ div-inv rem-exp-log unswap-sqr
Counts
4 → 77
Calls
4 calls:
6.0ms
(/ x (+ x (* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))))
6.0ms
(* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))
1.0ms
(exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b)))))
0.0ms
(fma c a (- (* 0.8333333333333334 c) (* a b)))

series110.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ x (+ x (* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))))
31.0ms
(* y (exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b))))))
17.0ms
(exp (* 2.0 (fma c a (- (* 0.8333333333333334 c) (* a b)))))
10.0ms
(fma c a (- (* 0.8333333333333334 c) (* a b)))

simplify121.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0278861
1987781
24339773
35001770

prune851.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes659.0ms

Accuracy

0% (1.9b remaining)

Error of 2.3b against oracle of 0.5b and baseline of 2.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04418
14618
24618

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.2s8000×body80valid
1.1s7722×body80nan