Details

Time bar (total: 12.9s)

sample80.0ms

Algorithm
intervals
Results
28.0ms278×body80valid
19.0ms108×body80nan

simplify191.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
02038
13838
27837
313637
416337
517537
617937
done17937

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.2b

localize144.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.4b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite151.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:
49.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
52.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
110.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
105.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
125.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify618.0ms

Counts
75 → 75
Iterations

Useful iterations: done (612.0ms)

IterNodesCost
01001330
12551186
210301089
done50001074

prune552.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 5.2b

localize151.0ms

Local error

Found 4 expressions with local error:

10.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite51.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:
17.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
98.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
123.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
94.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify704.0ms

Counts
72 → 72
Iterations

Useful iterations: done (701.0ms)

IterNodesCost
0901506
12361066
29821000
done5001992

prune501.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.2b

localize137.0ms

Local error

Found 4 expressions with local error:

9.0b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite60.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:
13.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
19.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
89.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
106.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify730.0ms

Counts
70 → 70
Iterations

Useful iterations: done (727.0ms)

IterNodesCost
0861428
12421014
21033938
done5001930

prune525.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.2b

localize174.0ms

Local error

Found 4 expressions with local error:

23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-- sqrt-div add-cbrt-cube flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
10.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
16.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
108.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
142.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
146.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify2.7s

Counts
68 → 68
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0901160
12111076
2700976
33606966
done5001942

prune608.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.2b

regimes251.0ms

Accuracy

93% (0.9b remaining)

Error of 8.1b against oracle of 7.3b and baseline of 19.6b

bsearch230.0ms

Steps
ItersRangePoint
6
1.9101351599902807e+102
2.525038855038462e+103
1.2511509099731475e+103
9
-2.501158360438979e+160
-5.198860796817705e+153
-1.347978711569674e+154

simplify10.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
041133
149133
done49133

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.5s8709×body80valid
363.0ms2896×body80nan