Details

Time bar (total: 18.5s)

sample57.0ms

Algorithm
intervals
Results
29.0ms92×body1280valid
8.0ms134×body80valid
4.0ms16×body640valid
2.0ms10×body320valid
0.0msbody160valid

simplify37.0ms

Counts
1 → 1
Iterations
IterNodes
done42
642
540
434
332
226
119
09

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize53.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 0.5 (/ 0.5 (hypot 1.0 x)))
0.0b
(sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0))
1.9b
(- 1.0 (sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
15×add-sqr-sqrt
12×prod-diff add-cube-cbrt
add-log-exp
pow1
sqrt-prod
expm1-log1p-u fma-def add-cbrt-cube fma-neg add-exp-log log1p-expm1-u
sqrt-pow1 flip3-+ sqrt-div associate-*l/ flip-+
+-commutative sum-log sub-neg flip3-- distribute-rgt-out-- pow1/2 diff-log pow-prod-down flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 64
Calls
3 calls:
12.0ms
(+ 0.5 (/ 0.5 (hypot 1.0 x)))
21.0ms
(sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0))
12.0ms
(- 1.0 (sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0)))

series1.0s

Counts
3 → 9
Calls
3 calls:
157.0ms
(+ 0.5 (/ 0.5 (hypot 1.0 x)))
374.0ms
(sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0))
492.0ms
(- 1.0 (sqrt (* (+ 0.5 (/ 0.5 (hypot 1.0 x))) 1.0)))

simplify1.2s

Counts
73 → 73
Iterations
IterNodes
done5001
22001
1453
0176

prune360.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))
0.0b
(/ (* 1.0 (- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
0.0b
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
1.4b
(- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
20×add-sqr-sqrt
15×add-cube-cbrt
12×prod-diff
11×add-log-exp
10×distribute-lft-out
add-cbrt-cube add-exp-log
pow1
associate-/r* times-frac
expm1-log1p-u associate-*r/ sqrt-prod log1p-expm1-u
fma-def flip3-+ fma-neg flip-+
cbrt-undiv sum-log sqrt-pow1 flip3-- sqrt-div diff-log div-exp associate-/r/ flip-- distribute-lft-out-- associate-/l/
+-commutative clear-num sub-neg frac-2neg pow1/2 pow-prod-down prod-exp cbrt-unprod div-inv associate-/l* associate--r+ difference-of-squares
Counts
4 → 98
Calls
4 calls:
6.0ms
(+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))
122.0ms
(/ (* 1.0 (- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
10.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
35.0ms
(- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))

series3.0s

Counts
4 → 12
Calls
4 calls:
454.0ms
(+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))
2.0s
(/ (* 1.0 (- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
348.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
150.0ms
(- 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))

simplify762.0ms

Counts
110 → 110
Iterations
IterNodes
done5000
1950
0323

prune784.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize66.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x))))
0.0b
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
0.1b
(exp (log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))))
1.3b
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
105×add-sqr-sqrt *-un-lft-identity
74×prod-diff
62×add-cube-cbrt
48×times-frac
23×distribute-lft-out--
20×difference-of-squares
14×log-prod
11×associate--l+
pow1 add-log-exp
log-div
exp-sum
flip3-- frac-sub flip--
fma-neg add-exp-log div-inv
expm1-log1p-u exp-prod add-cbrt-cube exp-diff log1p-expm1-u
diff-log
sub-neg sqrt-pow1 sqrt-div associate-*r/ log-pow
associate--l- flip3-+ pow1/2 rem-log-exp pow-prod-down sqrt-prod flip-+ rem-exp-log
Counts
4 → 165
Calls
4 calls:
45.0ms
(log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x))))
10.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
23.0ms
(exp (log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))))
59.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

series1.2s

Counts
4 → 12
Calls
4 calls:
381.0ms
(log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x))))
408.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
208.0ms
(exp (log (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))))
171.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

simplify2.0s

Counts
177 → 177
Iterations
IterNodes
done5000
23957
1923
0375

prune920.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize77.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))) (+ (+ 1.0 (/ 0.5 (hypot 1.0 x))) 0.5))
0.0b
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
0.0b
(* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))
1.3b
(- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5)))

rewrite191.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
21×add-sqr-sqrt distribute-lft-out
20×times-frac
19×add-cube-cbrt
14×pow1
flip3-+ add-cbrt-cube add-exp-log flip-+
difference-of-squares
swap-sqr add-log-exp
associate-/r*
expm1-log1p-u frac-times associate-*r* associate-*l* associate-*r/ log1p-expm1-u associate-/l*
distribute-rgt-in distribute-lft-in sqrt-pow1 flip3-- sqrt-div pow-prod-down associate-*l/ associate-/r/ flip-- associate--r+ associate-/l/
pow2 cbrt-undiv clear-num sub-neg frac-2neg pow-plus pow1/2 fma-neg diff-log div-sub div-exp prod-diff prod-exp pow-sqr *-commutative pow-prod-up sqrt-prod cbrt-unprod div-inv unswap-sqr
Counts
4 → 124
Calls
4 calls:
87.0ms
(/ (- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))) (+ (+ 1.0 (/ 0.5 (hypot 1.0 x))) 0.5))
10.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
79.0ms
(* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))
7.0ms
(- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5)))

series1.9s

Counts
4 → 12
Calls
4 calls:
993.0ms
(/ (- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))) (+ (+ 1.0 (/ 0.5 (hypot 1.0 x))) 0.5))
382.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
198.0ms
(* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5))
349.0ms
(- (* 1.0 1.0) (* (+ (/ 0.5 (hypot 1.0 x)) 0.5) (+ (/ 0.5 (hypot 1.0 x)) 0.5)))

simplify633.0ms

Counts
136 → 136
Iterations
IterNodes
done5000
11096
0347

prune870.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

regimes178.0ms

Accuracy

99.8% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 15.1b

bsearch287.0ms

Steps
ItersRangePoint
7
0.00012587414935880383
0.030359728269424062
0.0005078281910445067
11
-14746478108.679678
-8.433739504313006e-14
-0.000361777145262516

simplify22.0ms

Iterations
IterNodes
done84
284
182
066

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.6s2829×body1280valid
381.0ms4058×body80valid
164.0ms627×body640valid
58.0ms334×body320valid
17.0ms152×body160valid