Details

Time bar (total: 8.0s)

sample53.0ms

Algorithm
intervals
Results
11.0ms171×body160valid
10.0ms540×pre80true
9.0ms284×body80nan
4.0ms40×body320valid
2.0ms45×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.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: 45.7b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
40.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity
103×add-sqr-sqrt
60×times-frac
42×associate-*l*
39×add-cube-cbrt
28×distribute-lft-out unswap-sqr
24×associate-*r*
15×difference-of-squares
14×add-exp-log distribute-rgt-neg-in add-cbrt-cube
12×associate-/r*
11×*-commutative
10×add-log-exp
pow1
distribute-lft-out--
associate-/l*
prod-exp cbrt-unprod
swap-sqr pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub neg-log clear-num flip-- div-inv
Counts
4 → 173
Calls
4 calls:
21.0ms
(- (* b b) (* (* 3.0 a) c))
9.0ms
(* (* 3.0 a) c)
39.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
36.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series353.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (* b b) (* (* 3.0 a) c))
31.0ms
(* (* 3.0 a) c)
166.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
84.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify125.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06302006
128321901
250011891

prune252.0ms

Filtered
185 candidates to 112 candidates (60.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1805185
Fresh000
Picked101
Done000
Total1815186

Merged error: 0.3b

Counts
186 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* 3.0 (* a c))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite300.0ms

Algorithm
rewrite-expression-head
Rules
1793×*-un-lft-identity
1346×times-frac
919×add-sqr-sqrt
400×distribute-lft-out distribute-lft-out--
393×add-cube-cbrt
389×associate-*l*
200×difference-of-squares
189×associate-*r*
100×distribute-rgt-neg-in sqrt-prod
69×associate-/l*
64×unswap-sqr
60×*-commutative
28×add-exp-log associate-/r/ add-cbrt-cube
26×associate-/r*
23×associate-/l/
15×div-inv
14×pow1 flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow-prod-down
add-log-exp
frac-2neg div-sub clear-num
associate-+l- flip3-+ flip-+
Counts
4 → 907
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
86.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
8.0ms
(* 3.0 (* a c))
110.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series347.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
169.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
21.0ms
(* 3.0 (* a c))
136.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify240.0ms

Algorithm
egg-herbie
Counts
919 → 919
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0173423796
1500222807

prune1.1s

Filtered
919 candidates to 299 candidates (32.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9109919
Fresh314
Picked101
Done000
Total91410924

Merged error: 0b

Counts
924 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite525.0ms

Algorithm
rewrite-expression-head
Rules
2475×*-un-lft-identity
1710×times-frac
1129×add-sqr-sqrt
840×associate-*l*
600×distribute-lft-out
556×distribute-lft-out--
463×add-cube-cbrt
256×difference-of-squares
222×associate-*r*
128×distribute-rgt-neg-in sqrt-prod
87×associate-/l*
78×unswap-sqr
74×*-commutative
28×add-exp-log associate-/r/ add-cbrt-cube
26×associate-/r*
25×associate-/l/
15×div-inv
14×pow1 flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow-prod-down
add-log-exp
frac-2neg div-sub clear-num
associate-+l- flip3-+ flip-+
Counts
4 → 1107
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
7.0ms
(* (* 3.0 a) c)
85.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
112.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series361.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 3.0 a) c)
21.0ms
(* (* 3.0 a) c)
174.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
142.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify295.0ms

Algorithm
egg-herbie
Counts
1119 → 1119
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0165828820
1500127475

prune1.1s

Filtered
1119 candidates to 301 candidates (26.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New111541119
Fresh549
Picked101
Done000
Total112181129

Merged error: 0b

Counts
1129 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
542×*-un-lft-identity
357×associate-*l*
234×times-frac
228×add-sqr-sqrt
162×distribute-lft-out
122×associate-*r*
103×distribute-lft-out--
93×add-cube-cbrt
52×unswap-sqr
28×add-exp-log add-cbrt-cube
26×associate-/r* *-commutative
22×difference-of-squares
19×pow1
12×prod-exp cbrt-unprod
11×distribute-rgt-neg-in sqrt-prod
pow-prod-down associate-/l*
associate-*r/ add-log-exp
cbrt-undiv div-exp
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-/r/ flip-- associate-/l/
associate-+l- frac-2neg flip3-+ div-sub clear-num flip-+ div-inv
Counts
4 → 393
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
7.0ms
(* (* 3.0 a) c)
47.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
99.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (* 3.0 a) c)
27.0ms
(* (* 3.0 a) c)
117.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
143.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify199.0ms

Algorithm
egg-herbie
Counts
405 → 405
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
08247421
145136297
250026281

prune521.0ms

Filtered
405 candidates to 172 candidates (42.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4032405
Fresh257
Picked011
Done000
Total4058413

Merged error: 0b

Counts
413 → 8

regimes164.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02116
12116

end0.0ms

sample1.5s

Algorithm
intervals
Results
332.0ms16177×pre80true
321.0ms4805×body160valid
266.0ms8177×body80nan
145.0ms1410×body320valid
61.0ms1785×body80valid