Details

Time bar (total: 6.6s)

sample62.0ms

Algorithm
intervals
Results
14.0ms115×body320valid
9.0ms560×pre80true
9.0ms304×body80nan
6.0ms98×body160valid
2.0ms17×body640valid
1.0ms26×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 52.8b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite114.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:
8.0ms
(- (* b b) (* (* 3.0 a) c))
65.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
18.0ms
(* (* 3.0 a) c)
21.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* b b) (* (* 3.0 a) c))
98.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
18.0ms
(* (* 3.0 a) c)
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419716
11930613
25002608

prune164.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

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

rewrite585.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
17.0ms
(* (* 3.0 a) c)
15.0ms
(* 3.0 (* a c))
260.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
286.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series306.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06843100
133072567
250012533

prune411.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

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

rewrite587.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
17.0ms
(* (* 3.0 a) c)
16.0ms
(* (* 3.0 a) c)
260.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
286.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series309.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (* 3.0 a) c)
18.0ms
(* (* 3.0 a) c)
155.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))

simplify105.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
06273101
131392568
250012534

prune394.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
0.3b
(* 3.0 (* a c))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
518×times-frac
318×add-sqr-sqrt *-un-lft-identity
174×add-cube-cbrt
72×distribute-lft-out-- difference-of-squares
62×associate-/l*
48×add-exp-log add-cbrt-cube
42×div-inv
36×distribute-rgt-neg-in sqrt-prod
19×cbrt-undiv div-exp
14×pow1
12×prod-exp cbrt-unprod
10×associate-/r* associate-/r/
pow-prod-down
flip3-- flip--
associate-*r* associate-*l* add-log-exp
frac-2neg clear-num *-commutative associate-/l/
Counts
4 → 364
Calls
4 calls:
53.0ms
(/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.0ms
(* (* 3.0 a) c)
90.0ms
(/ (/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
16.0ms
(* 3.0 (* a c))

series343.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
18.0ms
(* (* 3.0 a) c)
138.0ms
(/ (/ (/ (* 3.0 (* a c)) 3.0) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
19.0ms
(* 3.0 (* a c))

simplify88.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012267115
150026756

prune780.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes115.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
02016
12016

end0.0ms

sample1.6s

Algorithm
intervals
Results
330.0ms3590×body320valid
268.0ms15905×pre80true
231.0ms7905×body80nan
179.0ms2999×body160valid
62.0ms506×body640valid
27.0ms905×body80valid