Details

Time bar (total: 8.2s)

sample50.0ms

Algorithm
intervals
Results
11.0ms274×body80nan
10.0ms530×pre80true
8.0ms130×body160valid
4.0ms126×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: 27.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.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:
25.0ms
(- (* b b) (* (* 3.0 a) c))
7.0ms
(* (* 3.0 a) c)
44.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
34.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(* (* 3.0 a) c)
111.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify81.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06302006
128321901
250011891

prune267.0ms

Filtered
185 candidates to 112 candidates (60.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New17510185
Fresh000
Picked101
Done000
Total17610186

Merged error: 0.5b

Counts
186 → 10

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

rewrite302.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:
10.0ms
(* (* 3.0 a) c)
8.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)))))
111.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series350.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 3.0 a) c)
21.0ms
(* 3.0 (* a c))
172.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 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))

simplify249.0ms

Algorithm
egg-herbie
Counts
919 → 919
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0173423796
1500222807

prune1.1s

Filtered
919 candidates to 297 candidates (32.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New90910919
Fresh909
Picked101
Done000
Total91910929

Merged error: 0b

Counts
929 → 10

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

rewrite335.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)
87.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
118.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series345.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
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)))))
136.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify286.0ms

Algorithm
egg-herbie
Counts
1119 → 1119
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0165828820
1500127475

prune1.0s

Filtered
1119 candidates to 303 candidates (27.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New111541119
Fresh549
Picked101
Done000
Total112181129

Merged error: 0b

Counts
1129 → 8

localize20.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)) 1) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
0.3b
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

rewrite269.0ms

Algorithm
rewrite-expression-head
Rules
1891×*-un-lft-identity
1535×times-frac
1017×associate-*l*
906×add-sqr-sqrt
529×add-cube-cbrt
492×distribute-lft-out
342×associate-*r*
312×distribute-lft-out--
140×unswap-sqr
70×*-commutative
66×difference-of-squares
49×add-exp-log
40×add-cbrt-cube associate-/l*
33×distribute-rgt-neg-in sqrt-prod
29×associate-/r*
28×div-inv
19×pow1 associate-/l/
18×prod-exp
15×div-exp cbrt-unprod
cbrt-undiv pow-prod-down
associate-*r/ add-log-exp
1-exp
distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in div-sub clear-num associate-/r/ flip--
associate-+l- flip3-+ flip-+
Counts
4 → 1011
Calls
4 calls:
7.0ms
(* (* 3.0 a) c)
8.0ms
(* (* 3.0 a) c)
112.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) 1) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
42.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series283.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
130.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) 1) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
109.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

simplify249.0ms

Algorithm
egg-herbie
Counts
1023 → 1023
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0219025154
1500123508

prune1.1s

Filtered
1023 candidates to 272 candidates (26.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New101941023
Fresh437
Picked101
Done000
Total102471031

Merged error: 0b

Counts
1031 → 7

regimes151.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03320
14420
25220
35220

end0.0ms

sample1.3s

Algorithm
intervals
Results
298.0ms16386×pre80true
288.0ms4471×body160valid
261.0ms8386×body80nan
114.0ms3529×body80valid