Details

Time bar (total: 18.3s)

sample53.0ms

Algorithm
intervals
Results
12.0ms197×body80valid
7.0ms24×body1280valid
6.0ms130×body80nan
3.0ms12×body640valid
2.0ms15×body320valid
2.0msbody1280nan
1.0msbody640nan
1.0msbody320nan
1.0msbody160valid
1.0msbody160nan

simplify1.3s

Counts
1 → 1
Iterations
IterNodes
done5000
92335
8741
7343
6223
5123
475
341
229
119
09

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.6b

localize26.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.6b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
log-prod add-exp-log
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-exp rem-log-exp log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
38.0ms
(/ (- x y) (- 1.0 y))
68.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
54.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series248.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- x y) (- 1.0 y))
78.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
116.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify2.2s

Counts
196 → 196
Iterations
IterNodes
done5002
23440
1877
0334

prune988.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 2 expressions with local error:

2.5b
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
5.6b
(log (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y))))

rewrite415.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
75×add-sqr-sqrt
65×associate-+l+
63×prod-diff
52×add-cube-cbrt
46×times-frac
12×distribute-lft-out--
11×difference-of-squares
add-log-exp
fma-def associate-/r/
log-prod flip3-- flip--
log-div frac-add distribute-lft-out
pow1 add-exp-log div-inv
expm1-log1p-u sum-log flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sub-neg diff-log rem-log-exp log-pow associate-+l-
Counts
2 → 110
Calls
2 calls:
253.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
155.0ms
(log (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y))))

series186.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
109.0ms
(log (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y))))

simplify2.1s

Counts
116 → 116
Iterations
IterNodes
done5001
22358
1586
0224

prune786.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize62.0ms

Local error

Found 4 expressions with local error:

3.6b
(* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)
9.3b
(fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y))
14.8b
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
14.9b
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
add-cbrt-cube
expm1-log1p-u log-prod log1p-expm1-u add-log-exp
rem-log-exp associate-*r* associate-*l* log-pow
log-div pow-prod-down prod-exp associate-*r/
flip3-- *-commutative cbrt-unprod fma-udef flip-- unswap-sqr
Counts
4 → 60
Calls
4 calls:
6.0ms
(* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)
0.0ms
(fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y))
11.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
1.0ms
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

series684.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)
208.0ms
(fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y))
123.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
255.0ms
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

simplify2.2s

Counts
72 → 72
Iterations
IterNodes
done5000
21398
1355
0154

prune657.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize109.0ms

Local error

Found 4 expressions with local error:

14.8b
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
14.8b
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
14.8b
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
14.9b
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log
rem-log-exp log-pow
log-div log-prod associate-*r/
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp flip--
Counts
4 → 62
Calls
4 calls:
11.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
11.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
12.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
1.0ms
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

series591.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
112.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
106.0ms
(log (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) (- 1.0 y)))
267.0ms
(log (fma (- (* (* 1.0 1.0) 1.0) (* (/ x (- 1.0 y)) (* (/ x (- 1.0 y)) (/ x (- 1.0 y))))) (- 1.0 y) (* (fma (/ x (- 1.0 y)) (+ 1.0 (/ x (- 1.0 y))) (* 1.0 1.0)) y)))

simplify2.1s

Counts
74 → 74
Iterations
IterNodes
done5000
33996
2859
1257
0109

prune699.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes119.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 18.1b

bsearch153.0ms

Steps
ItersRangePoint
8
199260.37626580763
107407921.39984605
20833302.402704142
10
-1.003987997486132e+25
-31677438.02179023
-220425257.60502243

simplify4.0ms

Iterations
IterNodes
done26
126
022

end0.0ms

sample2.5s

Algorithm
intervals
Results
599.0ms3708×body80nan
480.0ms5717×body80valid
406.0ms805×body1280valid
214.0ms769×body640valid
135.0ms368×body1280nan
86.0ms228×body320nan
77.0ms456×body320valid
77.0ms382×body640nan
28.0ms253×body160valid
12.0ms129×body160nan