Details

Time bar (total: 20.3s)

sample50.0ms

Algorithm
intervals
Results
11.0ms134×body160valid
9.0ms510×pre80true
8.0ms254×body80nan
4.0ms122×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 (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-log-exp
pow1
add-sqr-sqrt add-cube-cbrt
distribute-lft-out
times-frac associate-/l*
prod-exp cbrt-unprod
distribute-rgt-neg-in associate-*r* 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 associate-*l* neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series251.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0419716
11930613
25002608

prune205.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 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))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
79×add-sqr-sqrt *-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
23×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
10×distribute-rgt-neg-in sqrt-prod
pow1
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
prod-exp cbrt-unprod
flip3-- flip-- div-inv
div-sub associate-*l* pow-prod-down associate-/l/
associate-+l- frac-2neg clear-num
sub-neg flip3-+ diff-log associate-*r* *-commutative flip-+
Counts
4 → 153
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
27.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* 3.0 (* a c))
33.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series354.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 3.0 a) c))
164.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* 3.0 (* a c))
127.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify111.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07013126
131882612
250032569

prune500.0ms

Filtered
165 candidates to 105 candidates (63.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize14.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) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (- (* 3.0 a)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
624×times-frac
364×add-sqr-sqrt *-un-lft-identity
168×add-cube-cbrt
155×distribute-rgt-neg-in
106×distribute-lft-neg-in neg-mul-1
98×distribute-lft-out-- difference-of-squares
54×associate-/l*
49×sqrt-prod
21×add-exp-log add-cbrt-cube
16×associate-/r/
14×pow1
13×associate-/r*
div-inv
flip3-- flip--
associate-*r* pow-prod-down prod-exp cbrt-unprod
cbrt-undiv div-exp add-log-exp
div-sub distribute-frac-neg
neg-sub0 frac-2neg associate-*l* clear-num *-commutative
associate-/l/
Counts
4 → 466
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
13.0ms
(/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
28.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (- (* 3.0 a)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
181.0ms
(/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
154.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (- (* 3.0 a)))

simplify111.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0146910124
150029855

prune1.2s

Filtered
478 candidates to 290 candidates (60.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize19.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
(/ (/ (- (* 3.0 a)) 1) (/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))))
0.4b
(/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

rewrite720.0ms

Algorithm
rewrite-expression-head
Rules
13631×times-frac
5692×add-sqr-sqrt *-un-lft-identity
3952×add-cube-cbrt
1588×distribute-rgt-neg-in
1153×distribute-lft-neg-in neg-mul-1
870×distribute-lft-out-- difference-of-squares
435×sqrt-prod
338×div-inv
315×associate-/r/
194×associate-/r*
146×flip3-- flip--
44×add-exp-log
35×add-cbrt-cube
28×associate-/l*
27×div-exp
18×cbrt-undiv
pow1
add-log-exp
1-exp div-sub distribute-frac-neg associate-*r* pow-prod-down prod-exp cbrt-unprod
neg-sub0 frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 4134
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
120.0ms
(/ (/ (- (* 3.0 a)) 1) (/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))))
18.0ms
(/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
148.0ms
(/ (/ (- (* 3.0 a)) 1) (/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))))
164.0ms
(/ (- (* 3.0 a)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify1.0s

Algorithm
egg-herbie
Counts
4146 → 4146
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05292128692

prune13.2s

Filtered
4146 candidates to 2553 candidates (61.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes178.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 8 (3.0ms)

IterNodesCost
03221
13621
24021
34321
44521
54721
65021
75421
86020
96020

end0.0ms

sample1.4s

Algorithm
intervals
Results
309.0ms16495×pre80true
300.0ms4435×body160valid
267.0ms8495×body80nan
124.0ms3565×body80valid