Details

Time bar (total: 5.7s)

sample62.0ms

Algorithm
intervals
Results
35.0ms279×body80valid
11.0ms91×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.0b

localize117.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.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:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.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)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune307.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 7.6b

localize116.0ms

Local error

Found 4 expressions with local error:

8.0b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
7.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(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)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0225728
1835631
23414609
35001589

prune325.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 7.6b

localize118.0ms

Local error

Found 4 expressions with local error:

11.5b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
10.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series307.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
87.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune319.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.6b

localize123.0ms

Local error

Found 4 expressions with local error:

20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify68.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune411.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 7.6b

regimes209.0ms

Accuracy

91.2% (1.0b remaining)

Error of 8.6b against oracle of 7.6b and baseline of 19.5b

bsearch200.0ms

Steps
ItersRangePoint
8
5.408584085660923e+89
6.673576309669011e+92
1.810555102677257e+91
9
-1.0950400290159285e+159
-5.1499886097089576e+153
-1.3494508222524568e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.1s8721×body80valid
314.0ms2844×body80nan