Details

Time bar (total: 17.9s)

sample100.0ms

Algorithm
intervals
Results
23.0ms273×body80nan
23.0ms256×body80valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05017
110617
237417
3165217
4500117

prune8.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: 3.7b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (sqrt (+ t a)))
0.2b
(/ 2.0 (* t 3.0))
2.1b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
5.1b
(/ (* 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))
15.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)

series381.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* z (sqrt (+ t a)))
15.0ms
(/ 2.0 (* t 3.0))
184.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
100.0ms
(/ (* z (sqrt (+ t a))) t)

simplify36.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010121260
150011212

prune832.0ms

Filtered
113 candidates to 88 candidates (77.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.0b

Counts
114 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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)))))
21.0ms
(* (/ z (* (cbrt t) (cbrt t))) (/ (sqrt (+ t a)) (cbrt t)))

series719.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
017343625
150013518

prune1.6s

Filtered
181 candidates to 145 candidates (80.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1810181
Fresh022
Picked011
Done000
Total1813184

Merged error: 0.0b

Counts
184 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (* t 3.0))
2.6b
(log (exp (/ 2.0 (* t 3.0))))
3.7b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
5.1b
(/ (* z (sqrt (+ t a))) t)

rewrite31.0ms

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

series333.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 2.0 (* t 3.0))
20.0ms
(log (exp (/ 2.0 (* t 3.0))))
192.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (log (exp (/ 2.0 (* t 3.0)))))))
106.0ms
(/ (* z (sqrt (+ t a))) t)

simplify79.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07631016
13784927
25001926

prune737.0ms

Filtered
101 candidates to 80 candidates (79.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh011
Picked011
Done011
Total1013104

Merged error: 0.0b

Counts
104 → 3

localize36.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))))
3.8b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
8.4b
(- (* (* 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)))))
30.1b
(/ (- (* (* 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))))

rewrite194.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:
17.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
7.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
32.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)))))
57.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.8s

Counts
4 → 12
Calls
4 calls:
177.0ms
(* 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
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
764.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)))))
794.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))))

simplify310.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 1 (94.0ms)

IterNodesCost
0464024427
1500124209

prune7.0s

Filtered
449 candidates to 410 candidates (91.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4490449
Fresh000
Picked011
Done022
Total4493452

Merged error: 0.0b

Counts
452 → 3

regimes743.0ms

Accuracy

-3.5% (1.9b remaining)

Error of 2.7b against oracle of 0.8b and baseline of 2.6b

bsearch212.0ms

Steps
ItersRangePoint
4
5.745398828380397e-159
9.577483038020989e-159
6.307203923626574e-159
6
2.016013529482716e-283
8.141175499365164e-283
6.580596939231818e-283

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07956
17956

end0.0ms

sample2.5s

Algorithm
intervals
Results
729.0ms8000×body80valid
681.0ms7734×body80nan

Profiling

Loading profile data...