Details

Time bar (total: 10.2s)

sample85.0ms

Algorithm
intervals
Results
29.0ms300×body80nan
23.0ms256×body80valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.5b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
1.6b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.1b
(/ (* z (sqrt (+ t a))) t)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-sub
16×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
flip3-- flip--
frac-times associate-*r/
associate-*r*
pow1 times-frac associate--r+ add-log-exp
flip3-+ sqrt-prod flip-+
cbrt-undiv sqrt-div div-exp associate-/r* associate-/l*
distribute-rgt-in sub-neg distribute-lft-in associate-*l* prod-exp cbrt-unprod
frac-2neg associate-*l/ associate--l+ clear-num div-inv associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative distribute-lft-out
Counts
4 → 101
Calls
4 calls:
7.0ms
(/ 2.0 (* t 3.0))
7.0ms
(* z (sqrt (+ t a)))
12.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)

series322.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ 2.0 (* t 3.0))
61.0ms
(* z (sqrt (+ t a)))
172.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)

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010191262
150011200

prune500.0ms

Filtered
113 candidates to 88 candidates (77.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.2b

Counts
114 → 4

localize31.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt t)
0.6b
(cbrt t)
1.0b
(* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t)))
1.6b
(- (* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t))) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
60×frac-sub
58×times-frac
47×*-un-lft-identity
46×associate-*r*
39×frac-times
35×add-cube-cbrt
31×cbrt-prod
28×sqrt-prod
27×associate-*r/
25×add-exp-log flip3-- flip--
21×associate-*l/
18×add-cbrt-cube
10×unswap-sqr
flip3-+ flip-+
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
pow1 distribute-lft-out associate--r+ add-log-exp
distribute-rgt-in sub-neg distribute-lft-in
pow1/3 associate--l+ div-inv
diff-log pow-prod-down *-commutative
Counts
4 → 169
Calls
4 calls:
1.0ms
(cbrt t)
1.0ms
(cbrt t)
22.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t)))
19.0ms
(- (* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t))) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

series696.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(cbrt t)
175.0ms
(cbrt t)
110.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t)))
224.0ms
(- (* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t))) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017393626
150013513

prune987.0ms

Filtered
181 candidates to 144 candidates (79.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1810181
Fresh033
Picked011
Done000
Total1814185

Merged error: 0.2b

Counts
185 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (sqrt (+ t a)))
3.2b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
3.4b
(log (exp (/ 2.0 (* t 3.0))))
4.1b
(/ (* z (sqrt (+ t a))) t)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
11×add-exp-log add-cbrt-cube
log-pow frac-sub
pow1 exp-prod flip3-- associate-*r* flip--
times-frac associate-*r/ associate--r+ add-log-exp
sqrt-prod
frac-times sqrt-div
distribute-rgt-in sub-neg log-prod distribute-lft-in associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp associate-*l/ prod-exp associate--l+ cbrt-unprod flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg diff-log rem-log-exp pow-prod-down clear-num *-commutative distribute-lft-out associate-/l*
Counts
4 → 93
Calls
4 calls:
7.0ms
(* z (sqrt (+ t a)))
12.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
4.0ms
(log (exp (/ 2.0 (* t 3.0))))
11.0ms
(/ (* z (sqrt (+ t a))) t)

series357.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07951091
13885987
25001982

prune513.0ms

Filtered
105 candidates to 81 candidates (77.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh112
Picked011
Done011
Total1054109

Merged error: 0.0b

Counts
109 → 4

localize30.0ms

Local error

Found 4 expressions with local error:

4.5b
(* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))
5.4b
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
6.3b
(* t (- (* b b) (* c c)))
24.5b
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
268×associate-*r/
150×flip3-+ flip-+
132×frac-times
128×frac-add distribute-neg-frac
96×sqrt-div
66×associate-*l/ associate-/l/
52×flip3-- flip--
16×add-exp-log add-cbrt-cube
14×*-un-lft-identity
11×pow1 add-sqr-sqrt
add-cube-cbrt associate-*r*
add-log-exp
distribute-rgt-in distribute-lft-in prod-exp cbrt-unprod
associate-*l* pow-prod-down
times-frac div-sub associate-/l*
cbrt-undiv neg-sub0 associate-+r- sub-neg associate-+l+ associate-+r+ distribute-neg-in div-exp unsub-neg sum-log associate-/r/ *-commutative distribute-lft-out
+-commutative frac-2neg neg-log clear-num associate-/r* div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 230
Calls
4 calls:
18.0ms
(* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))
19.0ms
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
7.0ms
(* t (- (* b b) (* c c)))
26.0ms
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

series1.2s

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))
492.0ms
(+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0)))))))
65.0ms
(* t (- (* b b) (* c c)))
505.0ms
(/ (+ (* (* z (sqrt (+ t a))) (+ b c)) (neg (* (* t (- (* b b) (* c c))) (+ a (- (/ 5.0 6.0) (/ 2.0 (* t 3.0))))))) (* t (+ b c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 1 (52.0ms)

IterNodesCost
023577331
150017154

prune2.4s

Filtered
242 candidates to 211 candidates (87.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2420242
Fresh011
Picked011
Done022
Total2424246

Merged error: 0.0b

Counts
246 → 4

regimes300.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03922
13922

end0.0ms

sample2.1s

Algorithm
intervals
Results
755.0ms8000×body80valid
720.0ms7933×body80nan

Profiling

Loading profile data...