Details

Time bar (total: 5.2s)

sample35.0ms

Algorithm
intervals
Results
15.0ms282×body80valid
5.0ms94×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.1b

localize118.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0246646
1890606
23700588
35001584

prune289.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 8.9b

localize118.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.9b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
5.5b
(/ (* a c) b)
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt
times-frac associate-/r* add-log-exp
pow1
cbrt-undiv div-exp sqrt-prod distribute-lft-out
distribute-rgt-neg-in
flip3-- frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 81
Calls
4 calls:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
5.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
183.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
24.0ms
(/ (* a c) b)
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0440738
12043649
25001646

prune345.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.8b

localize120.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.1b
(/ a (/ b c))
4.9b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
61×*-un-lft-identity
54×add-sqr-sqrt
49×add-cube-cbrt
18×associate-/r*
14×add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 cbrt-undiv div-exp
sqrt-prod distribute-lft-out associate-/l*
distribute-rgt-neg-in associate-/r/
flip3-- frac-2neg sqrt-div diff-log clear-num flip-- distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log prod-exp cbrt-unprod flip-+
Counts
4 → 130
Calls
4 calls:
14.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(/ a (/ b c))
15.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.0ms
(/ a (/ b c))
190.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify73.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06621105
129531010
250011009

prune605.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 7.8b

localize132.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
11.1b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
11×add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1 sqrt-prod
times-frac associate-/r*
sqrt-div distribute-lft-out
flip3-- flip--
cbrt-undiv rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log div-exp associate-/r/
associate--l- neg-sub0 sub-neg frac-2neg flip3-+ neg-log prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l* difference-of-squares
Counts
4 → 72
Calls
4 calls:
15.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
4.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ a (/ b c))) b)))
81.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0375898
11588752
25001731

prune348.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 7.8b

regimes235.0ms

Accuracy

93.2% (1.0b remaining)

Error of 7.9b against oracle of 7.0b and baseline of 21.0b

bsearch136.0ms

Steps
ItersRangePoint
3
5.062782482725967e+112
6.853081242536654e+112
5.846038190143142e+112
9
-1.4509995558059801e+125
-2.2693772293991552e+117
-2.0236229236168638e+122

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06168
16168

end0.0ms

sample870.0ms

Algorithm
intervals
Results
473.0ms8755×body80valid
141.0ms2908×body80nan