Details

Time bar (total: 30.6s)

sample387.0ms

Algorithm
intervals
Results
208.0ms106×body1280valid
71.0ms24×body2560valid
62.0ms55×body640valid
21.0ms30×body320valid
7.0ms31×body80valid
5.0ms10×body160valid

simplify4.0ms

Counts
1 → 1
Iterations
IterNodes
310
210
19
06

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.1b

localize20.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
5.1b
(tan (+ x eps))

rewrite50.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:
39.0ms
(- (tan (+ x eps)) (tan x))
11.0ms
(tan (+ x eps))

series197.0ms

Counts
2 → 6
Calls
2 calls:
141.0ms
(- (tan (+ x eps)) (tan x))
56.0ms
(tan (+ x eps))

simplify1.5s

Counts
33 → 33
Iterations
IterNodes
53439
41447
3676
2287
1139
070

prune365.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 12.8b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite170.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:
46.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
14.0ms
(+ (tan x) (tan eps))
28.0ms
(* (tan x) (tan eps))
81.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.0s

Counts
4 → 12
Calls
4 calls:
300.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
122.0ms
(+ (tan x) (tan eps))
113.0ms
(* (tan x) (tan eps))
485.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.1s

Counts
102 → 102
Iterations
IterNodes
33786
21110
1404
0174

prune1.1s

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.7b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite168.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:
28.0ms
(* (tan x) (tan eps))
27.0ms
(* (tan x) (tan eps))
79.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
30.0ms
(- (* (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series1.6s

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (tan x) (tan eps))
115.0ms
(* (tan x) (tan eps))
145.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.2s
(- (* (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify854.0ms

Counts
126 → 126
Iterations
IterNodes
22595
1633
0204

prune2.0s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.7b

localize103.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (sin eps))
0.3b
(* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))
1.5b
(- (* (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
29×add-cbrt-cube add-exp-log
18×tan-quot
14×add-sqr-sqrt
13×pow1 associate-*r* prod-exp cbrt-unprod
10×*-un-lft-identity add-cube-cbrt
frac-times associate-*l/
associate-*l*
associate-*r/ add-log-exp
pow-prod-down frac-sub
cbrt-undiv div-exp insert-posit16
times-frac *-commutative
flip3-+ associate--l+ flip-+ unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in flip3-- diff-log div-inv flip--
Counts
4 → 100
Calls
4 calls:
27.0ms
(* (tan x) (tan eps))
13.0ms
(* (tan x) (sin eps))
47.0ms
(* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))
64.0ms
(- (* (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series2.0s

Counts
4 → 12
Calls
4 calls:
131.0ms
(* (tan x) (tan eps))
104.0ms
(* (tan x) (sin eps))
290.0ms
(* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))
1.5s
(- (* (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify1.1s

Counts
112 → 112
Iterations
IterNodes
23211
1725
0243

prune1.9s

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 12.7b

regimes322.0ms

Accuracy

89.1% (0.8b remaining)

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

bsearch211.0ms

Steps
ItersRangePoint
2
1.879070068339194e-54
2.1729496112421346e-54
2.1362146683792668e-54
11
-2.7310998996894105e-29
-2.4800299462845904e-49
-2.5708003209900752e-39

simplify33.0ms

Iterations
IterNodes
252
152
037

end0.0ms

sample14.2s

Algorithm
intervals
Results
7.5s3282×body1280valid
2.8s1829×body640valid
2.5s617×body2560valid
756.0ms796×body320valid
318.0ms1111×body80valid
230.0ms365×body160valid