Details

Time bar (total: 8.5s)

sample168.0ms

Algorithm
intervals
Results
25.0ms256×body80valid
21.0ms219×body80nan

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.7b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
0.3b
(/ 2.0 (* t 3.0))
1.3b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
6.8b
(/ (* z (sqrt (+ t a))) t)

rewrite41.0ms

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

series199.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
2.0ms
(/ 2.0 (* t 3.0))
54.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
17.0ms
(/ (* z (sqrt (+ t a))) t)

simplify42.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010281552
150011437

prune229.0ms

Filtered
85 candidates to 110 candidates (-29.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh000
Picked101
Done000
Total1074111

Merged error: 0b

Counts
111 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

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

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)
18.0ms
(- (* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t))) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
22.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t)))

series120.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017543649
150013540

prune419.0ms

Filtered
144 candidates to 181 candidates (-25.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1810181
Fresh033
Picked011
Done000
Total1814185

Merged error: 0b

Counts
185 → 4

localize33.0ms

Local error

Found 4 expressions with local error:

3.8b
(* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.4b
(- (* b b) (* c c))
4.9b
(- (* (* z (sqrt (+ t a))) (+ b c)) (* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))
24.0b
(/ (- (* (* z (sqrt (+ t a))) (+ b c)) (* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))) (* t (+ b c)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
532×associate-*r/
326×frac-sub
248×frac-times
220×flip3-+ flip-+
168×sqrt-div
139×flip3-- flip--
114×associate-/l/
90×associate-*l/
25×distribute-rgt-in distribute-lft-in
14×add-exp-log add-cbrt-cube
12×associate--r+
10×sub-neg associate--l+
pow1
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
times-frac associate-*l* pow-prod-down associate-/l*
cbrt-undiv diff-log div-exp associate-/r/
frac-2neg div-sub associate-*r* clear-num associate-/r* *-commutative div-inv difference-of-squares
Counts
4 → 333
Calls
4 calls:
18.0ms
(* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.0ms
(- (* b b) (* c c))
26.0ms
(- (* (* z (sqrt (+ t a))) (+ b c)) (* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))
32.0ms
(/ (- (* (* z (sqrt (+ t a))) (+ b c)) (* t (* (- (* b b) (* c c)) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))) (* t (+ b c)))

series418.0ms

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

simplify183.0ms

Algorithm
egg-herbie
Counts
345 → 345
Iterations

Useful iterations: 1 (72.0ms)

IterNodesCost
0349311654
1500111493

prune2.9s

Filtered
309 candidates to 345 candidates (-11.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3450345
Fresh022
Picked011
Done011
Total3454349

Merged error: 0b

Counts
349 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))
0.0b
(+ (* a c) (* 0.8333333333333334 c))
0.0b
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
0.0b
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
12×exp-sum
associate-*r*
add-sqr-sqrt
pow1 distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in add-cbrt-cube
add-exp-log sub-neg associate--l+
associate-*l*
diff-log sum-log
+-commutative exp-prod distribute-rgt-out flip3-- exp-to-pow flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ rem-exp-log unswap-sqr
Counts
4 → 66
Calls
4 calls:
6.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))
4.0ms
(+ (* a c) (* 0.8333333333333334 c))
9.0ms
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
6.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))

series52.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))
5.0ms
(+ (* a c) (* 0.8333333333333334 c))
26.0ms
(* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))
13.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))

simplify108.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0287596
11035532
23836515
35002510

prune96.0ms

Filtered
52 candidates to 78 candidates (-50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New78078
Fresh011
Picked011
Done022
Total78482

Merged error: 0b

Counts
82 → 4

regimes692.0ms

Accuracy

0% (2.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03922
13922

end0.0ms

sample2.4s

Algorithm
intervals
Results
780.0ms8000×body80valid
702.0ms7296×body80nan

Profiling

Loading profile data...