Details

Time bar (total: 6.1s)

sample54.0ms

Algorithm
intervals
Results
12.0ms530×pre80true
10.0ms150×body160valid
8.0ms274×body80nan
5.0ms50×body320valid
2.0ms56×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.5b

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

rewrite60.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))
6.0ms
(* (* 3.0 a) c)
37.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 3.0 a) c))
20.0ms
(* (* 3.0 a) c)
106.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune181.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite380.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:
6.0ms
(* 3.0 (* a c))
171.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.0ms
(* (* 3.0 a) c)
189.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series332.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06843100
132962567
250022533

prune430.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.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.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite383.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:
172.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.0ms
(* (* 3.0 a) c)
6.0ms
(* (* 3.0 a) c)
190.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series330.0ms

Counts
4 → 12
Calls
4 calls:
166.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)
19.0ms
(* (* 3.0 a) c)
126.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 (80.0ms)

IterNodesCost
06273101
131392568
250012534

prune424.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

rewrite440.0ms

Algorithm
rewrite-expression-head
Rules
67×add-exp-log
65×add-sqr-sqrt
60×*-un-lft-identity
49×times-frac
37×add-cbrt-cube
32×add-cube-cbrt
28×associate-*l*
26×prod-exp
20×div-exp
14×pow1 distribute-lft-out-- difference-of-squares
12×cbrt-unprod
10×cbrt-undiv associate-*r*
associate-/r*
distribute-rgt-neg-in sqrt-prod
rec-exp 1-exp associate-/l*
pow-prod-down
associate-/r/ div-inv add-log-exp
flip3-- pow-flip frac-2neg clear-num *-commutative flip-- associate-/l/ unswap-sqr
frac-times associate-+l- flip3-+ div-sub associate-*r/ associate-*l/ un-div-inv flip-+ inv-pow
Counts
4 → 163
Calls
4 calls:
173.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.0ms
(* (* 3.0 a) c)
4.0ms
(/ 1 (* 3.0 a))
250.0ms
(* (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (/ 1 (* 3.0 a)))

series340.0ms

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

simplify145.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
07392744
139932137
250012075

prune420.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes160.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.4s

Algorithm
intervals
Results
320.0ms4907×body160valid
311.0ms16490×pre80true
266.0ms8490×body80nan
129.0ms1305×body320valid
60.0ms1788×body80valid