Details

Time bar (total: 9.6s)

sample60.0ms

Algorithm
intervals
Results
5.0ms62×body1280valid
4.0ms59×body640valid
3.0ms175×body80valid
2.0ms34×body320valid
0.0ms12×body160valid

simplify1.6s

Counts
1 → 1
Iterations
IterNodes
done5000
72448
61922
51067
4386
3130
240
115
05

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 39.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) (+ x 1.0))
3.8b
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
10×add-sqr-sqrt
pow1
add-cube-cbrt
flip3-+ swap-sqr flip-+ distribute-lft-out
frac-times add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
prod-diff
distribute-rgt-in expm1-log1p-u distribute-lft-in associate-*l/ associate--l+ associate-*r/ log1p-expm1-u
pow2 sub-neg pow-plus flip3-- fma-neg diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod flip-- difference-of-squares unswap-sqr
Counts
2 → 63
Calls
2 calls:
24.0ms
(* (+ x 1.0) (+ x 1.0))
22.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

series85.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(* (+ x 1.0) (+ x 1.0))
69.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

simplify1.6s

Counts
69 → 69
Iterations
IterNodes
done5000
22187
1341
0106

prune134.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ x (+ (sqrt 1.0) 1.0)) (+ (- 1.0 (sqrt 1.0)) x))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
flip3-+ flip-+
add-sqr-sqrt associate-*r* associate-*l* distribute-lft-out
frac-times
pow1 add-cbrt-cube add-exp-log add-cube-cbrt
associate-*l/ associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp unswap-sqr
Counts
1 → 34
Calls
1 calls:
133.0ms
(* (+ x (+ (sqrt 1.0) 1.0)) (+ (- 1.0 (sqrt 1.0)) x))

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(* (+ x (+ (sqrt 1.0) 1.0)) (+ (- 1.0 (sqrt 1.0)) x))

simplify998.0ms

Counts
37 → 37
Iterations
IterNodes
done5001
22267
1309
080

prune98.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (sqrt 1.0)) 1.0)
0.0b
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
0.0b
(* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x))
6.9b
(/ (* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x)) (- x (+ (sqrt 1.0) 1.0)))

rewrite573.0ms

Algorithm
rewrite-expression-head
Rules
86×*-un-lft-identity
60×frac-times
56×add-sqr-sqrt
42×prod-diff
40×flip3-+ flip-+
30×associate-*l/ add-cube-cbrt
26×associate-/l/
24×distribute-rgt-in distribute-lft-in
22×flip3-- flip--
20×add-cbrt-cube add-exp-log
18×associate-*r/ distribute-lft-out
12×distribute-rgt-out
11×pow1 associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out--
associate-/r* times-frac associate-*l* distribute-rgt1-in sqrt-prod
expm1-log1p-u fma-def pow-prod-down log1p-expm1-u
cbrt-undiv sum-log div-exp difference-of-squares
sub-neg associate-/r/ *-commutative
+-commutative associate-+l+ clear-num frac-2neg div-inv associate-/l* unswap-sqr
Counts
4 → 209
Calls
4 calls:
29.0ms
(+ (+ x (sqrt 1.0)) 1.0)
140.0ms
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
193.0ms
(* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x))
201.0ms
(/ (* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x)) (- x (+ (sqrt 1.0) 1.0)))

series388.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (+ x (sqrt 1.0)) 1.0)
158.0ms
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
128.0ms
(* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x))
59.0ms
(/ (* (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (+ (- 1.0 (sqrt 1.0)) x)) (- x (+ (sqrt 1.0) 1.0)))

simplify448.0ms

Counts
221 → 221
Iterations
IterNodes
done5001
11369
0365

prune613.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0))))
0.0b
(+ (+ x (sqrt 1.0)) 1.0)
0.0b
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
0.3b
(/ (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0)))))

rewrite386.0ms

Algorithm
rewrite-expression-head
Rules
280×*-un-lft-identity
126×times-frac
118×add-sqr-sqrt
68×distribute-lft-out
64×add-cube-cbrt
53×distribute-lft-out--
42×prod-diff
41×associate-/r*
23×distribute-rgt-in distribute-lft-in
20×add-cbrt-cube add-exp-log
17×difference-of-squares
12×distribute-rgt-out
10×flip3-+ flip-+ associate-/l/
add-log-exp
frac-times
cbrt-undiv flip3-- div-exp associate-/r/ flip-- associate-/l*
pow1 associate-*r* distribute-rgt1-in sqrt-prod
associate-*l*
expm1-log1p-u fma-def associate-*l/ associate-*r/ log1p-expm1-u div-inv
sum-log prod-exp cbrt-unprod
clear-num sub-neg frac-2neg
+-commutative associate-+l+ div-sub pow-prod-down *-commutative unswap-sqr
Counts
4 → 262
Calls
4 calls:
76.0ms
(/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0))))
29.0ms
(+ (+ x (sqrt 1.0)) 1.0)
139.0ms
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
128.0ms
(/ (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0)))))

series377.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0))))
43.0ms
(+ (+ x (sqrt 1.0)) 1.0)
158.0ms
(* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0)))
59.0ms
(/ (* (+ (+ x (sqrt 1.0)) 1.0) (- x (+ (sqrt 1.0) 1.0))) (/ (- x (+ (sqrt 1.0) 1.0)) (+ x (- 1.0 (sqrt 1.0)))))

simplify445.0ms

Counts
274 → 274
Iterations
IterNodes
done5001
11295
0381

prune552.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done12
112
08

end0.0ms

sample949.0ms

Algorithm
intervals
Results
394.0ms5433×body80valid
204.0ms2318×body1280valid
154.0ms1623×body640valid
39.0ms840×body320valid
13.0ms399×body160valid