Details

Time bar (total: 30.1s)

sample236.0ms

Algorithm
intervals
Results
134.0ms115×body1280valid
35.0ms50×body640valid
33.0ms14×body2560valid
12.0ms28×body320valid
5.0ms15×body160valid
5.0ms34×body80valid

simplify8.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune67.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.5b

localize35.0ms

Local error

Found 2 expressions with local error:

2.0b
(- (tan (+ x eps)) (tan x))
2.0b
(tan (+ x eps))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity tan-quot add-log-exp
pow1 tan-sum add-cbrt-cube add-exp-log frac-sub add-cube-cbrt insert-posit16
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 27
Calls
2 calls:
13.0ms
(- (tan (+ x eps)) (tan x))
5.0ms
(tan (+ x eps))

series201.0ms

Counts
2 → 6
Calls
2 calls:
138.0ms
(- (tan (+ x eps)) (tan x))
64.0ms
(tan (+ x eps))

simplify1.7s

Counts
33 → 33
Iterations
IterNodes
done5001
41821
3719
2300
1139
070

prune170.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
3.1b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-cbrt-cube add-exp-log add-log-exp
pow1
distribute-lft-out
insert-posit16 associate-/l*
associate-/r* associate-*r* associate-*l* associate-/l/
flip3-+ flip3-- frac-add associate-/r/ flip-+ flip-- difference-of-squares
frac-times cbrt-undiv +-commutative clear-num sum-log sub-neg frac-2neg diff-log div-exp pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative frac-sub cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 90
Calls
4 calls:
14.0ms
(+ (tan x) (tan eps))
46.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
28.0ms
(* (tan x) (tan eps))
97.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
116.0ms
(+ (tan x) (tan eps))
330.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
107.0ms
(* (tan x) (tan eps))
539.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify2.5s

Counts
102 → 102
Iterations
IterNodes
done5000
34143
21152
1405
0174

prune578.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.0b

localize64.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
3.1b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
45×tan-quot
21×frac-times
20×add-cbrt-cube add-exp-log
19×pow-prod-down
15×associate-*r/
14×associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
*-un-lft-identity add-cube-cbrt
associate-*r* associate-*l*
add-log-exp
frac-sub
pow-sqr pow-prod-up insert-posit16
*-commutative
flip3-+ pow-plus associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg distribute-lft-in flip3-- diff-log swap-sqr flip--
Counts
4 → 114
Calls
4 calls:
29.0ms
(* (tan x) (tan eps))
28.0ms
(* (tan x) (tan eps))
125.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
39.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series1.7s

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (tan x) (tan eps))
103.0ms
(* (tan x) (tan eps))
177.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.3s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify1.8s

Counts
126 → 126
Iterations
IterNodes
done5028
22740
1664
0205

prune734.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.9b

localize58.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.2b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.2b
(* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))))
3.1b
(+ (* 1 (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (- (* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (tan x)))

rewrite323.0ms

Algorithm
rewrite-expression-head
Rules
89×tan-quot
87×pow1
44×frac-times
40×add-cbrt-cube add-exp-log
38×associate-*r/
37×pow-prod-down
34×associate-*l/
29×*-un-lft-identity
28×associate-*r*
22×prod-exp cbrt-unprod
20×times-frac
18×add-sqr-sqrt
14×add-cube-cbrt
10×frac-add
add-log-exp
pow-sqr pow-prod-up difference-of-squares
frac-sub
distribute-lft-out
pow-plus insert-posit16
associate-*l* *-commutative
pow2 cbrt-undiv associate-+r+ sum-log flip3-- swap-sqr div-exp associate-/r/ flip--
+-commutative associate-+r- sub-neg flip3-+ diff-log flip-+ div-inv sub-div
Counts
4 → 180
Calls
4 calls:
73.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
80.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
65.0ms
(* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))))
100.0ms
(+ (* 1 (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (- (* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (tan x)))

series1.9s

Counts
4 → 12
Calls
4 calls:
164.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
152.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
452.0ms
(* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))))
1.2s
(+ (* 1 (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (- (* (* (tan x) (tan eps)) (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))))) (tan x)))

simplify3.2s

Counts
192 → 192
Iterations
IterNodes
done5000
24655
11102
0320

prune1.0s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 11.9b

regimes412.0ms

Accuracy

88.6% (0.8b remaining)

Error of 15.1b against oracle of 14.3b and baseline of 21.4b

bsearch353.0ms

Steps
ItersRangePoint
9
1.2523620733929687e-77
2.4540588509345504e-72
2.4150728912939454e-72
9
-5.984165099293203e-09
-2.0017119239229129e-16
-2.0286038026990939e-16

simplify21.0ms

Iterations
IterNodes
done59
159
043

end0.0ms

sample11.4s

Algorithm
intervals
Results
5.9s3317×body1280valid
2.3s1856×body640valid
1.9s618×body2560valid
574.0ms765×body320valid
285.0ms1108×body80valid
119.0ms336×body160valid