Details

Time bar (total: 12.7s)

sample200.0ms

Algorithm
intervals
Results
114.0ms135×body1280valid
25.0ms55×body640valid
15.0ms256×pre80true
9.0ms29×body320valid
3.0ms36×body80valid
0.0msbody160valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.7b
(tan (+ y z))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
21.0ms
(+ x (- (tan (+ y z)) (tan a)))
17.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series312.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(+ x (- (tan (+ y z)) (tan a)))
130.0ms
(- (tan (+ y z)) (tan a))
58.0ms
(tan (+ y z))

simplify49.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune249.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

rewrite251.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
138.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
8.0ms
(+ (tan y) (tan z))
17.0ms
(* (tan y) (tan z))
86.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

series1.0s

Counts
4 → 12
Calls
4 calls:
396.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
107.0ms
(+ (tan y) (tan z))
108.0ms
(* (tan y) (tan z))
435.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify95.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune607.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a))
0.2b
(* (sin y) (sin z))
0.2b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

rewrite297.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
10×*-un-lft-identity
add-log-exp
pow1 add-cube-cbrt
prod-exp cbrt-unprod
cbrt-undiv div-exp
tan-quot associate-*r* associate-*l*
times-frac sin-mult difference-of-squares
+-commutative sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down frac-add clear-num associate-/r* sum-log associate-/r/ cos-mult *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 71
Calls
4 calls:
11.0ms
(+ (tan y) (tan z))
253.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a))
12.0ms
(* (sin y) (sin z))
18.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

series573.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(+ (tan y) (tan z))
356.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y))))) (tan a))
39.0ms
(* (sin y) (sin z))
93.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0429913
11704787
25001787

prune636.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.6b
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
2.8b
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
22×*-un-lft-identity
18×cbrt-prod
12×add-cube-cbrt unpow-prod-down cube-prod
10×difference-of-squares
tan-quot pow1 add-exp-log add-cbrt-cube
cube-div add-log-exp
times-frac distribute-lft-out--
pow-unpow cbrt-div flip3-- associate-*r* associate-*l* frac-sub flip--
cube-mult unpow3 sqr-pow
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 99
Calls
4 calls:
14.0ms
(* (tan y) (tan z))
75.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
80.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
70.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

series1.5s

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (tan y) (tan z))
351.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
742.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
350.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04101748
115331668
250011660

prune632.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes567.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.1s3976×body1280valid
898.0ms1913×body640valid
406.0ms8000×pre80true
225.0ms708×body320valid
107.0ms1128×body80valid
57.0ms275×body160valid