Details

Time bar (total: 10.1s)

sample56.0ms

Algorithm
intervals
Results
11.0ms570×pre80true
10.0ms314×body80nan
9.0ms142×body160valid
4.0ms114×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* 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.5b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite127.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:
23.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(* (* 3.0 a) c)
47.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
37.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series278.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (* b b) (* (* 3.0 a) c))
22.0ms
(* (* 3.0 a) c)
116.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
87.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify88.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06302006
128321901
250011891

prune272.0ms

Filtered
185 candidates to 112 candidates (39.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1787185
Fresh000
Picked101
Done000
Total1797186

Merged error: 0.4b

Counts
186 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 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))
0.4b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

rewrite322.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:
8.0ms
(* (* 3.0 a) c)
8.0ms
(* 3.0 (* a c))
122.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
87.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series357.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 3.0 a) c)
22.0ms
(* 3.0 (* a c))
137.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
177.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

simplify251.0ms

Algorithm
egg-herbie
Counts
919 → 919
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
0173423796
1500122807

prune1.1s

Filtered
919 candidates to 299 candidates (67.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New9109919
Fresh606
Picked101
Done000
Total9179926

Merged error: 0b

Counts
926 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite711.0ms

Algorithm
rewrite-expression-head
Rules
1805×*-un-lft-identity
1346×times-frac
1113×add-sqr-sqrt
419×associate-*l*
405×add-cube-cbrt
400×distribute-lft-out distribute-lft-out--
231×associate-*r*
200×difference-of-squares
193×unswap-sqr
100×distribute-rgt-neg-in sqrt-prod
96×add-cbrt-cube
83×cbrt-unprod
74×cbrt-prod
69×associate-/l*
67×*-commutative
44×add-exp-log
30×pow1
28×associate-/r/
26×associate-/r*
23×associate-/l/
20×prod-exp
18×pow-prod-down
16×swap-sqr
15×div-inv
14×flip3-- flip--
cbrt-undiv div-exp
add-log-exp
frac-2neg div-sub clear-num
associate-+l- flip3-+ flip-+
Counts
4 → 1027
Calls
4 calls:
40.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
10.0ms
(* (cbrt 3.0) (* a c))
292.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c))))))) (* 3.0 a))
264.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))))

series610.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
48.0ms
(* (cbrt 3.0) (* a c))
216.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c))))))) (* 3.0 a))
267.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))))

simplify316.0ms

Algorithm
egg-herbie
Counts
1039 → 1039
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0222932629
1500131674

prune1.9s

Filtered
1039 candidates to 371 candidates (64.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New103541039
Fresh538
Picked011
Done000
Total104081048

Merged error: 0b

Counts
1048 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite612.0ms

Algorithm
rewrite-expression-head
Rules
334×add-sqr-sqrt
289×*-un-lft-identity
144×unswap-sqr
121×associate-*r*
100×times-frac
98×associate-*l*
96×add-cbrt-cube
87×cbrt-unprod
74×cbrt-prod
66×distribute-lft-out--
64×distribute-lft-out
60×add-cube-cbrt
44×add-exp-log
35×pow1
32×difference-of-squares
24×prod-exp
21×pow-prod-down
19×associate-*r/
17×distribute-rgt-neg-in associate-/l*
16×swap-sqr sqrt-prod
14×associate-/r*
13×*-commutative
associate-/r/ un-div-inv associate-/l/ add-log-exp
cbrt-undiv div-exp clear-num
flip3-- frac-2neg flip3-+ div-sub flip-- flip-+ div-inv
associate--l- neg-sub0
Counts
4 → 375
Calls
4 calls:
38.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
255.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))) (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))))
10.0ms
(* (cbrt 3.0) (* a c))
284.0ms
(* (* 3.0 a) (/ (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))) (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))))

series502.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
179.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))) (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))))
51.0ms
(* (cbrt 3.0) (* a c))
198.0ms
(* (* 3.0 a) (/ (- (- b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))) (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
387 → 387
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
012856561
150015832

prune854.0ms

Filtered
387 candidates to 196 candidates (49.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3870387
Fresh066
Picked011
Done011
Total3878395

Merged error: 0b

Counts
395 → 8

regimes185.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02821
12821

end0.0ms

sample1.4s

Algorithm
intervals
Results
316.0ms16629×pre80true
294.0ms4442×body160valid
278.0ms8629×body80nan
123.0ms3558×body80valid