Details

Time bar (total: 5.2s)

sample53.0ms

Algorithm
intervals
Results
11.0ms143×body160valid
10.0ms537×pre80true
8.0ms281×body80nan
4.0ms45×body320valid
2.0ms68×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: 42.1b

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

rewrite29.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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
11.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
107.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
77.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

prune181.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize21.0ms

Local error

Found 4 expressions with local error:

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.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))))) (* 3.0 a))

rewrite72.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:
24.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)
5.0ms
(* 3.0 (* a c))
28.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series329.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06843100
133072567
250012533

prune441.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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.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))))) (* 3.0 a))

rewrite72.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:
24.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)
5.0ms
(* (* 3.0 a) c)
31.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series375.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
24.0ms
(* (* 3.0 a) c)
32.0ms
(* (* 3.0 a) c)
158.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify103.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06273101
131392568
250012534

prune423.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
120×pow1
68×add-exp-log add-cbrt-cube
67×pow-prod-down
34×prod-exp cbrt-unprod
22×times-frac
18×add-sqr-sqrt
16×*-un-lft-identity
14×associate-/l*
12×cbrt-undiv add-cube-cbrt div-exp
pow-sqr pow-prod-up
associate-*l* associate-*l/
associate-*r*
associate-/r/ difference-of-squares
flip3-- flip--
div-inv add-log-exp
pow-plus div-sub associate-/l/
distribute-rgt-neg-in frac-2neg clear-num associate-/r* *-commutative distribute-lft-out--
pow2 distribute-lft-neg-in neg-mul-1 swap-sqr sqrt-prod distribute-rgt-neg-out unswap-sqr
Counts
4 → 161
Calls
4 calls:
12.0ms
(* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c)))
35.0ms
(/ (/ (- (* (- (pow b 2) (pow b 2)) (- (pow b 2) (pow b 2))) (* (* (* 3.0 a) c) (* (* 3.0 a) c))) (* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c)))) (* 3.0 a))
33.0ms
(/ (- (* (- (pow b 2) (pow b 2)) (- (pow b 2) (pow b 2))) (* (* (* 3.0 a) c) (* (* 3.0 a) c))) (* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c))))
10.0ms
(* (* (* 3.0 a) c) (* (* 3.0 a) c))

series431.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c)))
125.0ms
(/ (/ (- (* (- (pow b 2) (pow b 2)) (- (pow b 2) (pow b 2))) (* (* (* 3.0 a) c) (* (* 3.0 a) c))) (* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c)))) (* 3.0 a))
162.0ms
(/ (- (* (- (pow b 2) (pow b 2)) (- (pow b 2) (pow b 2))) (* (* (* 3.0 a) c) (* (* 3.0 a) c))) (* (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (- (* (* 3.0 a) c))))
34.0ms
(* (* (* 3.0 a) c) (* (* 3.0 a) c))

simplify168.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (143.0ms)

IterNodesCost
08053386
148382425
250012392

prune366.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

regimes170.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
03024
14324
24424
34424

end0.0ms

sample1.4s

Algorithm
intervals
Results
303.0ms16469×pre80true
300.0ms4746×body160valid
254.0ms8469×body80nan
139.0ms1449×body320valid
58.0ms1805×body80valid