Details

Time bar (total: 16.5s)

sample93.0ms

Algorithm
intervals
Results
27.0ms256×body80valid
22.0ms249×body80nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 3.3b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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
(* z (sqrt (+ t a)))
4.0ms
(/ 2.0 (* t 3.0))
14.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)

series82.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010121260
150011212

prune233.0ms

Filtered
88 candidates to 113 candidates (-28.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.5b

Counts
114 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.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)))))

series307.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
017543649
150023540

prune404.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1810181
Fresh022
Picked011
Done000
Total1813184

Merged error: 0.5b

Counts
184 → 3

localize39.0ms

Local error

Found 4 expressions with local error:

3.3b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
3.7b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
8.2b
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
26.3b
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
766×associate-*l/
764×associate-*r/
524×frac-sub
498×flip3-- flip--
364×frac-times
240×sqrt-div
162×associate-/l/
120×flip3-+ flip-+
28×add-exp-log add-cbrt-cube
16×distribute-rgt-in distribute-lft-in
14×pow1
12×prod-exp cbrt-unprod
sub-neg
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate--r+
associate-*l*
pow-prod-down add-log-exp
cbrt-undiv div-exp
times-frac associate-/l*
associate-*r* associate-/r/ *-commutative
frac-2neg diff-log div-sub clear-num associate-/r* div-inv difference-of-squares
Counts
4 → 437
Calls
4 calls:
7.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
18.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
36.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
53.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
46.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
172.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
260.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

simplify308.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 1 (94.0ms)

IterNodesCost
0464024427
1500124209

prune10.4s

Filtered
410 candidates to 449 candidates (-9.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4481449
Fresh011
Picked011
Done011
Total4484452

Merged error: 0.0b

Counts
452 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log exp-sum add-cbrt-cube
pow1
distribute-rgt-in sub-neg distribute-lft-in associate--l+ associate-/r* associate-/l*
flip3-+ diff-log sum-log associate-/r/ flip-+
cbrt-undiv +-commutative exp-prod distribute-rgt-out flip3-- exp-to-pow frac-2neg div-exp clear-num flip-- div-inv rem-exp-log
Counts
4 → 71
Calls
4 calls:
4.0ms
(/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))))
5.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
3.0ms
(+ (* a c) (* 0.8333333333333334 c))
6.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

series65.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ x (+ x (* y (exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b)))))))
15.0ms
(exp (* 2.0 (- (+ (* a c) (* 0.8333333333333334 c)) (* a b))))
5.0ms
(+ (* a c) (* 0.8333333333333334 c))
8.0ms
(- (+ (* a c) (* 0.8333333333333334 c)) (* a b))

simplify122.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0353839
11257766
24501747
35001744

prune119.0ms

Filtered
59 candidates to 83 candidates (-40.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh011
Picked101
Done022
Total83487

Merged error: 0.0b

Counts
87 → 4

regimes694.0ms

Accuracy

0% (2.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03922
13922

end0.0ms

sample2.7s

Algorithm
intervals
Results
740.0ms8000×body80valid
722.0ms8023×body80nan

Profiling

Loading profile data...