Details

Time bar (total: 5.2s)

sample56.0ms

Algorithm
intervals
Results
14.0ms116×body320valid
10.0ms501×pre80true
7.0ms245×body80nan
6.0ms94×body160valid
2.0ms15×body640valid
1.0ms31×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 51.5b

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.2b
(* (* 3.0 a) c)
26.4b
(+ (- 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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series259.0ms

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

prune177.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.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:
5.0ms
(* (* 3.0 a) c)
25.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))

series340.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06843100
133072567
250012533

prune445.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series343.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06273101
131392568
250012534

prune410.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.2b
(* (* 3.0 a) c)
0.4b
(* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
0.4b
(/ (* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
58×add-exp-log
40×add-cbrt-cube
37×add-sqr-sqrt
33×associate-*r*
31×*-un-lft-identity
24×times-frac
23×prod-exp
18×add-cube-cbrt
16×pow1 div-exp
15×cbrt-unprod
cbrt-undiv
pow-prod-down
associate-/l/ distribute-lft-out-- difference-of-squares
associate-*l*
frac-times flip3-+ associate-*l/ flip-+ add-log-exp
rec-exp distribute-rgt-neg-in 1-exp sqrt-prod *-commutative unswap-sqr
associate-*r/ associate-/r/ un-div-inv div-inv
flip3-- frac-2neg clear-num associate-/r* flip-- associate-/l*
Counts
4 → 125
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
35.0ms
(* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
31.0ms
(/ (* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

series341.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
25.0ms
(* (* 3.0 a) c)
164.0ms
(* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
132.0ms
(/ (* (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

simplify150.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (135.0ms)

IterNodesCost
06821896
143831345
250021289

prune312.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes168.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
02517
12517

end0.0ms

sample1.5s

Algorithm
intervals
Results
341.0ms3620×body320valid
315.0ms16123×pre80true
248.0ms8123×body80nan
182.0ms2921×body160valid
66.0ms530×body640valid
33.0ms929×body80valid