Details

Time bar (total: 26.1s)

sample229.0ms

Algorithm
intervals
Results
78.0ms122×body320valid
65.0ms244×body80nan
55.0ms128×body160valid
1.0msbody80valid

simplify2.8s

Counts
1 → 1
Iterations
IterNodes
done5001
53455
41170
3353
2116
146
019

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize68.0ms

Local error

Found 4 expressions with local error:

7.9b
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
9.3b
(cbrt (* (/ -1/2 a) (+ g (sqrt (* (- g h) (+ g h))))))
32.4b
(sqrt (* (- g h) (+ g h)))
32.4b
(sqrt (* (- g h) (+ g h)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-div
12×frac-times
10×pow1 cbrt-div
flip3-+ flip3-- associate-*r/ flip-+ flip--
associate-*l/
add-sqr-sqrt *-un-lft-identity sqrt-pow1 add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 add-log-exp
cbrt-prod pow1/2 pow1/3 pow-prod-down sqrt-prod
Counts
4 → 70
Calls
4 calls:
41.0ms
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
6.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (* (- g h) (+ g h))))))
12.0ms
(sqrt (* (- g h) (+ g h)))
25.0ms
(sqrt (* (- g h) (+ g h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
484.0ms
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
492.0ms
(cbrt (* (/ -1/2 a) (+ g (sqrt (* (- g h) (+ g h))))))
83.0ms
(sqrt (* (- g h) (+ g h)))
83.0ms
(sqrt (* (- g h) (+ g h)))

simplify1.8s

Counts
82 → 82
Iterations
IterNodes
done5000
21573
1437
0189

prune893.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 32.7b

localize57.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (* (- g h) (+ g h))) g)
7.9b
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
32.4b
(sqrt (* (- g h) (+ g h)))
32.4b
(sqrt (* (- g h) (+ g h)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
16×sqrt-div
10×frac-times pow1
flip3-- flip--
add-sqr-sqrt *-un-lft-identity flip3-+ associate-*r/ flip-+ add-log-exp
cbrt-div associate-*l/
sqrt-pow1 add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16
pow1/2 pow-prod-down sqrt-prod
cbrt-prod sub-neg pow1/3 diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 70
Calls
4 calls:
37.0ms
(- (sqrt (* (- g h) (+ g h))) g)
44.0ms
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
8.0ms
(sqrt (* (- g h) (+ g h)))
12.0ms
(sqrt (* (- g h) (+ g h)))

series780.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(- (sqrt (* (- g h) (+ g h))) g)
493.0ms
(cbrt (* (/ 1/2 a) (- (sqrt (* (- g h) (+ g h))) g)))
91.0ms
(sqrt (* (- g h) (+ g h)))
93.0ms
(sqrt (* (- g h) (+ g h)))

simplify1.8s

Counts
82 → 82
Iterations
IterNodes
done5000
21249
1333
0155

prune897.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 32.2b

localize55.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ g (sqrt (* (- g h) (+ g h))))
1.1b
(- (sqrt (* (- g h) (+ g h))) g)
32.4b
(sqrt (* (- g h) (+ g h)))
32.4b
(sqrt (* (- g h) (+ g h)))

rewrite74.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 insert-posit16
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 → 68
Calls
4 calls:
9.0ms
(+ g (sqrt (* (- g h) (+ g h))))
31.0ms
(- (sqrt (* (- g h) (+ g h))) g)
17.0ms
(sqrt (* (- g h) (+ g h)))
17.0ms
(sqrt (* (- g h) (+ g h)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(+ g (sqrt (* (- g h) (+ g h))))
96.0ms
(- (sqrt (* (- g h) (+ g h))) g)
69.0ms
(sqrt (* (- g h) (+ g h)))
122.0ms
(sqrt (* (- g h) (+ g h)))

simplify1.6s

Counts
80 → 80
Iterations
IterNodes
done5001
21127
1251
0106

prune913.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 32.0b

localize93.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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 insert-posit16 add-log-exp
Counts
4 → 80
Calls
4 calls:
17.0ms
(sqrt (* (- g h) (+ g h)))
9.0ms
(sqrt (* (- g h) (+ g h)))
8.0ms
(sqrt (* (- g h) (+ g h)))
11.0ms
(sqrt (* (- g h) (+ g h)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(sqrt (* (- g h) (+ g h)))
91.0ms
(sqrt (* (- g h) (+ g h)))
110.0ms
(sqrt (* (- g h) (+ g h)))
90.0ms
(sqrt (* (- g h) (+ g h)))

simplify2.3s

Counts
92 → 92
Iterations
IterNodes
done5000
33126
2704
1159
062

prune929.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 32.0b

regimes682.0ms

Accuracy

37.4% (1.8b remaining)

Error of 31.2b against oracle of 29.4b and baseline of 32.2b

bsearch158.0ms

Steps
ItersRangePoint
6
-1.893145012823655e-157
-2.997343141526986e-158
-3.035091110489776e-158

simplify7.0ms

Iterations
IterNodes
done39
139
030

end0.0ms

sample7.9s

Algorithm
intervals
Results
3.2s3745×body320valid
2.3s8042×body80nan
1.9s4109×body160valid
28.0ms146×body80valid