Details

Time bar (total: 27.6s)

sample150.0ms

Algorithm
intervals
Results
45.0ms123×body320valid
33.0ms270×body80nan
32.0ms129×body160valid
1.0msbody80valid

simplify4.9s

Counts
1 → 1
Iterations
IterNodes
done5000
84583
71834
61286
5947
4584
3298
2122
143
019

prune36.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 38.9b

localize54.0ms

Local error

Found 4 expressions with local error:

9.4b
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
10.8b
(cbrt (* (/ 1.0 (* a 2.0)) (- (- g) (sqrt (* (+ g h) (- g h))))))
32.1b
(sqrt (* (+ g h) (- g h)))
32.1b
(sqrt (* (+ g h) (- g h)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
550×times-frac
312×add-sqr-sqrt *-un-lft-identity
226×cbrt-prod
224×add-cube-cbrt
44×distribute-lft-out-- difference-of-squares
21×div-inv
16×sqrt-div
10×frac-times pow1
flip3-- flip--
cbrt-div flip3-+ associate-*r/ associate-/r/ flip-+
associate-*l/
sqrt-pow1 add-cbrt-cube add-exp-log add-log-exp
pow1/2 pow1/3 pow-prod-down sqrt-prod
Counts
4 → 286
Calls
4 calls:
35.0ms
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
38.0ms
(cbrt (* (/ 1.0 (* a 2.0)) (- (- g) (sqrt (* (+ g h) (- g h))))))
9.0ms
(sqrt (* (+ g h) (- g h)))
9.0ms
(sqrt (* (+ g h) (- g h)))

series1.0s

Counts
4 → 12
Calls
4 calls:
358.0ms
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
467.0ms
(cbrt (* (/ 1.0 (* a 2.0)) (- (- g) (sqrt (* (+ g h) (- g h))))))
90.0ms
(sqrt (* (+ g h) (- g h)))
92.0ms
(sqrt (* (+ g h) (- g h)))

simplify1.1s

Counts
298 → 298
Iterations
IterNodes
done5000
12242
0976

prune3.1s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 34.0b

localize68.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (sqrt (* (+ g h) (- g h))) g)
9.4b
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
32.1b
(sqrt (* (+ h g) (- g h)))
32.1b
(sqrt (* (+ g h) (- g h)))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
550×times-frac
314×add-sqr-sqrt *-un-lft-identity
225×cbrt-prod
224×add-cube-cbrt
45×distribute-lft-out-- difference-of-squares
21×div-inv
16×sqrt-div
10×pow1
frac-times
flip3-- flip--
flip3-+ associate-/r/ flip-+ add-log-exp
sqrt-pow1 add-cbrt-cube associate-*l/ associate-*r/ add-exp-log
pow1/2 pow-prod-down sqrt-prod
cbrt-div sub-neg pow1/3 diff-log
Counts
4 → 286
Calls
4 calls:
18.0ms
(- (sqrt (* (+ g h) (- g h))) g)
34.0ms
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
15.0ms
(sqrt (* (+ h g) (- g h)))
26.0ms
(sqrt (* (+ g h) (- g h)))

series753.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (sqrt (* (+ g h) (- g h))) g)
450.0ms
(cbrt (/ (- (sqrt (* (+ g h) (- g h))) g) (/ 2.0 (/ 1.0 a))))
102.0ms
(sqrt (* (+ h g) (- g h)))
80.0ms
(sqrt (* (+ g h) (- g h)))

simplify1.0s

Counts
298 → 298
Iterations
IterNodes
done5000
12230
0980

prune3.4s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 33.4b

localize56.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ g (sqrt (* (+ h g) (- g h))))
1.2b
(- (sqrt (* (- g h) (+ h g))) g)
32.1b
(sqrt (* (- g h) (+ h g)))
32.1b
(sqrt (* (+ h g) (- g h)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-div
10×pow1
frac-times *-un-lft-identity add-log-exp
flip3-+ flip3-- flip-+ flip--
add-sqr-sqrt
sqrt-pow1 add-cbrt-cube associate-*l/ associate-*r/ add-exp-log add-cube-cbrt
pow1/2 pow-prod-down sqrt-prod
+-commutative sum-log sub-neg diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
16.0ms
(+ g (sqrt (* (+ h g) (- g h))))
30.0ms
(- (sqrt (* (- g h) (+ h g))) g)
9.0ms
(sqrt (* (- g h) (+ h g)))
9.0ms
(sqrt (* (+ h g) (- g h)))

series413.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(+ g (sqrt (* (+ h g) (- g h))))
94.0ms
(- (sqrt (* (- g h) (+ h g))) g)
77.0ms
(sqrt (* (- g h) (+ h g)))
105.0ms
(sqrt (* (+ h g) (- g h)))

simplify616.0ms

Counts
76 → 76
Iterations
IterNodes
done5000
21150
1321
0144

prune982.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 33.4b

localize108.0ms

Local error

Found 4 expressions with local error:

32.1b
(sqrt (* (- g h) (+ h g)))
32.1b
(sqrt (* (+ g h) (- g h)))
32.1b
(sqrt (* (+ g h) (- g h)))
32.1b
(sqrt (* (+ g h) (- g h)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
32×sqrt-div
16×frac-times pow1
12×flip3-+ flip3-- flip-+ flip--
sqrt-pow1 associate-*l/ associate-*r/
add-sqr-sqrt *-un-lft-identity add-cbrt-cube pow1/2 pow-prod-down add-exp-log add-cube-cbrt sqrt-prod add-log-exp
Counts
4 → 76
Calls
4 calls:
9.0ms
(sqrt (* (- g h) (+ h g)))
14.0ms
(sqrt (* (+ g h) (- g h)))
12.0ms
(sqrt (* (+ g h) (- g h)))
18.0ms
(sqrt (* (+ g h) (- g h)))

series365.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (* (- g h) (+ h g)))
78.0ms
(sqrt (* (+ g h) (- g h)))
95.0ms
(sqrt (* (+ g h) (- g h)))
96.0ms
(sqrt (* (+ g h) (- g h)))

simplify752.0ms

Counts
88 → 88
Iterations
IterNodes
done5000
21092
1238
0104

prune1.2s

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 33.4b

regimes649.0ms

Accuracy

73.6% (0.6b remaining)

Error of 31.6b against oracle of 31.0b and baseline of 33.3b

bsearch322.0ms

Steps
ItersRangePoint
8
-1.622693661133134e-179
-2.2020829157506872e-182
-1.593804505093949e-179

simplify24.0ms

Iterations
IterNodes
done78
378
274
160
044

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.7s3804×body320valid
1.6s4042×body160valid
1.1s8006×body80nan
18.0ms154×body80valid