Details

Time bar (total: 13.9s)

sample37.0ms

Algorithm
intervals
Results
11.0ms201×body80valid
4.0ms20×body640valid
3.0ms10×body1280valid
2.0ms17×body320valid
1.0msbody160valid

simplify2.4s

Counts
1 → 1
Iterations

Useful iterations: 4 (29.0ms)

IterNodesCost
0811
11611
23511
37611
416110
546610
6186810
done500010

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
13.2b
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ fma-udef div-inv
Counts
2 → 58
Calls
2 calls:
33.0ms
(/ (- x 1.0) (+ y 1.0))
1.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series173.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(/ (- x 1.0) (+ y 1.0))
118.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

simplify1.0s

Counts
64 → 64
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0114834
1282799
21133747
done5002743

prune288.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
0.1b
(* (/ (- x 1.0) (+ y 1.0)) y)
4.2b
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
48×add-sqr-sqrt
41×times-frac
26×associate-*l*
25×add-cube-cbrt
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
associate-/r* associate-/r/
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative flip3-- fma-def frac-2neg div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip--
Counts
3 → 109
Calls
3 calls:
42.0ms
(/ (- x 1.0) (+ y 1.0))
90.0ms
(* (/ (- x 1.0) (+ y 1.0)) y)
39.0ms
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

series184.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (- x 1.0) (+ y 1.0))
61.0ms
(* (/ (- x 1.0) (+ y 1.0)) y)
78.0ms
(+ (* (/ (- x 1.0) (+ y 1.0)) y) 1.0)

simplify2.5s

Counts
118 → 118
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01721520
14721433
221821346
done50021338

prune350.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- y 1.0) y)
4.0b
(+ (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y)) 1.0)
4.1b
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
16.0b
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
47×*-un-lft-identity
40×times-frac
31×associate-*l*
27×add-cube-cbrt
21×difference-of-squares
20×add-exp-log add-cbrt-cube
11×pow1
10×distribute-lft-out--
associate-*l/ prod-exp cbrt-unprod
flip3-- flip-- add-log-exp
associate-/l*
expm1-log1p-u associate-*r* pow-prod-down associate-/r* associate-/r/ log1p-expm1-u
cbrt-undiv div-exp
frac-times associate-*r/ *-commutative div-inv associate-/l/
+-commutative fma-def frac-2neg flip3-+ div-sub clear-num sum-log flip-+ unswap-sqr
Counts
4 → 138
Calls
4 calls:
24.0ms
(* (- y 1.0) y)
59.0ms
(+ (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y)) 1.0)
42.0ms
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
116.0ms
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y))

series500.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (- y 1.0) y)
226.0ms
(+ (* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y)) 1.0)
78.0ms
(/ (- x 1.0) (- (* y y) (* 1.0 1.0)))
137.0ms
(* (/ (- x 1.0) (- (* y y) (* 1.0 1.0))) (* (- y 1.0) y))

simplify2.7s

Counts
150 → 150
Iterations

Useful iterations: 2 (1.3s)

IterNodesCost
02342728
17062619
239592376
done50002376

prune565.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ 1.0 y) x)
0.0b
(- (+ (/ 1.0 y) x) (* 1.0 (/ x y)))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
13×fma-def
11×add-sqr-sqrt add-cube-cbrt
times-frac add-log-exp
fma-neg prod-diff
distribute-lft-out
pow1 add-exp-log expm1-log1p-u flip3-+ diff-log associate-*r/ sum-log frac-sub add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sub-neg flip3-- associate--l+ flip-- div-inv
Counts
2 → 53
Calls
2 calls:
25.0ms
(+ (/ 1.0 y) x)
160.0ms
(- (+ (/ 1.0 y) x) (* 1.0 (/ x y)))

series82.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (/ 1.0 y) x)
45.0ms
(- (+ (/ 1.0 y) x) (* 1.0 (/ x y)))

simplify938.0ms

Counts
59 → 59
Iterations

Useful iterations: done (936.0ms)

IterNodesCost
075681
1209651
21039590
done5000559

prune172.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes101.0ms

Accuracy

100% (0.0b remaining)

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

bsearch176.0ms

Steps
ItersRangePoint
10
0.02325869037085268
6498875204.17883
111711424.78256571
11
-3.317152845340719e+16
-2.9526231381329305e-09
-116113257.18599546

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02349
13139
done3139

end0.0ms

sample1.1s

Algorithm
intervals
Results
374.0ms6121×body80valid
204.0ms714×body640valid
122.0ms373×body1280valid
60.0ms497×body320valid
24.0ms295×body160valid