Details

Time bar (total: 5.3s)

sample25.0ms

Algorithm
intervals
Results
10.0ms307×body80valid

simplify503.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2439
31069
41919
52939
64459
710749
done50019

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.7b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 47
Calls
2 calls:
10.0ms
(* x (+ (- y z) 1.0))
10.0ms
(/ (* x (+ (- y z) 1.0)) z)

series18.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(* x (+ (- y z) 1.0))
10.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify1.1s

Counts
53 → 53
Iterations

Useful iterations: 3 (353.0ms)

IterNodesCost
096609
1266593
2914499
34549497
done5000497

prune90.0ms

Filtered
37 candidates to 53 candidates (-43.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New46753
Fresh000
Picked101
Done000
Total47754

Merged error: 0.0b

Counts
54 → 7

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.5b
(/ x (/ z (+ (- y z) 1.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
8.0ms
(/ z (+ (- y z) 1.0))
12.0ms
(/ x (/ z (+ (- y z) 1.0)))

series20.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(/ z (+ (- y z) 1.0))
11.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify457.0ms

Counts
145 → 145
Iterations

Useful iterations: 2 (140.0ms)

IterNodesCost
02002400
14622236
217902142
done50012142

prune164.0ms

Filtered
94 candidates to 145 candidates (-54.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh246
Picked011
Done000
Total1466152

Merged error: 0b

Counts
152 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
0.2b
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
3.5b
(/ (/ z (+ (- y z) 1.0)) x)

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
771×times-frac
595×*-un-lft-identity
335×add-sqr-sqrt add-cube-cbrt
104×distribute-lft-out
75×associate-/r*
52×distribute-lft-out--
35×associate-/r/
31×add-exp-log
27×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 435
Calls
3 calls:
8.0ms
(/ z (+ (- y z) 1.0))
24.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
13.0ms
(/ (/ z (+ (- y z) 1.0)) x)

series27.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ z (+ (- y z) 1.0))
9.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
11.0ms
(/ (/ z (+ (- y z) 1.0)) x)

simplify739.0ms

Counts
444 → 444
Iterations

Useful iterations: 2 (403.0ms)

IterNodesCost
05149555
113028499
242227475
done50017475

prune327.0ms

Filtered
196 candidates to 444 candidates (-126.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4440444
Fresh044
Picked011
Done011
Total4446450

Merged error: 0b

Counts
450 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube
pow1 distribute-rgt-out associate-*l* add-log-exp
associate-/l*
associate-*r* associate-/r*
flip3-+ associate-*l/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 67
Calls
3 calls:
7.0ms
(+ (* (- y z) x) (* 1.0 x))
7.0ms
(* (- y z) x)
11.0ms
(/ (+ (* (- y z) x) (* 1.0 x)) z)

series29.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (* (- y z) x) (* 1.0 x))
8.0ms
(* (- y z) x)
13.0ms
(/ (+ (* (- y z) x) (* 1.0 x)) z)

simplify633.0ms

Counts
76 → 76
Iterations

Useful iterations: done (631.0ms)

IterNodesCost
01271036
1303875
21148813
done5001809

prune75.0ms

Filtered
55 candidates to 76 candidates (-38.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh033
Picked011
Done022
Total76682

Merged error: 0b

Counts
82 → 6

regimes202.0ms

Accuracy

95.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.5b

bsearch35.0ms

Steps
ItersRangePoint
8
3971695.541906566
180319941269.0115
20792837942.066338
8
-8.534522168063439e+34
-8.577185052646821e+30
-8.531077179572598e+31

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01837
12529
done2529

end0.0ms

sample708.0ms

Algorithm
intervals
Results
315.0ms10031×body80valid

Profiling

Loading profile data...