Details

Time bar (total: 14.6s)

sample79.0ms

Algorithm
intervals
Results
20.0ms256×body80nan
17.0ms256×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.7b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.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:
21.0ms
(* z (sqrt (+ t a)))
7.0ms
(/ 2.0 (* t 3.0))
35.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)

series319.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010191262
150011200

prune592.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 2.0 (* t 3.0))
2.1b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
4.3b
(/ (* z (sqrt (+ t a))) t)
41.3b
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod frac-sub
14×add-exp-log add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
flip3-- flip--
frac-times
cube-div unpow-prod-down cbrt-div cube-prod
associate-*r/ associate--r+ add-log-exp
pow1 cbrt-undiv flip3-+ div-exp associate-/r* flip-+ div-inv associate-/l*
distribute-rgt-in sub-neg distribute-lft-in
frac-2neg sqrt-div associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod associate-/l/
cube-mult pow1/3 diff-log unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 106
Calls
4 calls:
8.0ms
(/ 2.0 (* t 3.0))
39.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
17.0ms
(/ (* z (sqrt (+ t a))) t)
6.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

series276.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ 2.0 (* t 3.0))
164.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3)))))
76.0ms
(/ (* z (sqrt (+ t a))) t)
16.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

simplify40.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010271349
150011297

prune635.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

3.4b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
4.3b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
6.8b
(- (* (* 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)))))
27.8b
(/ (- (* (* 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))))

rewrite1.4s

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:
277.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
34.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
420.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)))))
619.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))))

series1.4s

Counts
4 → 12
Calls
4 calls:
163.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
49.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
543.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)))))
647.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))))

simplify301.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 1 (93.0ms)

IterNodesCost
0464124427
1500124209

prune5.8s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite278.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 flip3-- exp-to-pow flip3-+ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ rem-exp-log unswap-sqr
Counts
4 → 65
Calls
4 calls:
89.0ms
(* y (exp (* 2.0 (- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b))))))
17.0ms
(+ (* 1.0 (* a c)) (* 0.8333333333333334 c))
71.0ms
(exp (* 2.0 (- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b)))))
99.0ms
(- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* y (exp (* 2.0 (- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b))))))
44.0ms
(+ (* 1.0 (* a c)) (* 0.8333333333333334 c))
43.0ms
(exp (* 2.0 (- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b)))))
49.0ms
(- (+ (* 1.0 (* a c)) (* 0.8333333333333334 c)) (* 1.0 (* a b)))

simplify42.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0296758
11159678
25002669

prune219.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes263.0ms

Accuracy

48.4% (3.1b remaining)

Error of 4.3b against oracle of 1.2b and baseline of 7.3b

bsearch383.0ms

Steps
ItersRangePoint
7
1.3263943024813382e-104
2.164387454202905e-103
1.1960971858099233e-103
11
-2.7642923683296913e-21
-1.3861612912304209e-53
-1.8718335203335725e-43

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07753
17753

end0.0ms

sample2.0s

Algorithm
intervals
Results
563.0ms8000×body80valid
528.0ms8172×body80nan